-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
30 lines (28 loc) · 758 Bytes
/
docker-compose.local.yml
File metadata and controls
30 lines (28 loc) · 758 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
version: '3.8'
services:
ethduties:
build: .
image: ethduties:latest
ports:
- "${PORT:-3000}:3000"
container_name: ethduties
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=${PORT:-3000}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- VAPID_PUBLIC_KEY=${VAPID_PUBLIC_KEY}
- VAPID_PRIVATE_KEY=${VAPID_PRIVATE_KEY}
- SERVER_URL=${SERVER_URL:-http://localhost:3000}
networks:
- ethduties-network
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
ethduties-network:
driver: bridge
name: ethduties-network