-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
runpaceflow:
build:
context: .
dockerfile: Dockerfile
container_name: runpaceflow
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/local.db
# Map style (use default CARTO Positron or customize)
- NEXT_PUBLIC_MAP_STYLE=https://basemaps.cartocdn.com/gl/positron-gl-style/style.json
# Uncomment and fill in your credentials:
# - NIKE_ACCESS_TOKEN=your_nike_token
# - STRAVA_CLIENT_ID=your_strava_client_id
# - STRAVA_CLIENT_SECRET=your_strava_client_secret
# - STRAVA_REFRESH_TOKEN=your_strava_refresh_token
volumes:
# Persist SQLite database
- runpaceflow_data:/app/data
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
runpaceflow_data:
driver: local