32 lines
838 B
YAML
32 lines
838 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
zoomcal:
|
|
build: .
|
|
container_name: zoomcal-jeffemmett
|
|
restart: unless-stopped
|
|
environment:
|
|
- NODE_ENV=production
|
|
- NEXT_PUBLIC_API_URL=/api/v1/calendar
|
|
- BACKEND_URL=http://dko-backend:8000
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.zoomcal.rule=Host(`zoomcal.jeffemmett.com`)"
|
|
- "traefik.http.routers.zoomcal.entrypoints=web"
|
|
- "traefik.http.services.zoomcal.loadbalancer.server.port=3000"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|
|
networks:
|
|
- traefik-public
|
|
- pkmn_pkmn-internal
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|
|
pkmn_pkmn-internal:
|
|
external: true
|