betting-prediction-app/docker-compose.yml

25 lines
926 B
YAML

services:
betting-app:
build:
context: .
args:
- NEXT_PUBLIC_PUSHER_APP_KEY=f3c4d32f8247f83439e8
- NEXT_PUBLIC_PUSHER_CLUSTER=us2
- NEXT_PUBLIC_SUPABASE_URL=https://vzpxtpqpmjmrobsmdxoe.supabase.co
- NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZ6cHh0cHFwbWptcm9ic21keG9lIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTAzNDc2MjMsImV4cCI6MjA2NTkyMzYyM30.B2Z_0hHbJad9gi0qY2RBGRAGc52NjIBehHxG_7_KnDU
container_name: betting-app-prod
restart: unless-stopped
env_file:
- .env.local
labels:
- "traefik.enable=true"
- "traefik.http.routers.betting-app.rule=Host(`betting.jeffemmett.com`)"
- "traefik.http.routers.betting-app.entrypoints=web"
- "traefik.http.services.betting-app.loadbalancer.server.port=3000"
networks:
- traefik-public
networks:
traefik-public:
external: true