-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 927 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 927 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
services:
tournament:
container_name: tournament
restart: always
build:
context: ./
dockerfile: Dockerfile
target: prod
args:
- SECRET=${SECRET}
- DATABASE_URL=${DATABASE_URL}
- NEXT_PUBLIC_URL=${NEXT_PUBLIC_URL}
- NEXT_PUBLIC_PRICE_POOL=${NEXT_PUBLIC_PRICE_POOL}
environment:
- SECRET=${SECRET}
- DATABASE_URL=${DATABASE_URL}
- NEXT_PUBLIC_URL=${NEXT_PUBLIC_URL}
- NEXT_PUBLIC_PRICE_POOL=${NEXT_PUBLIC_PRICE_POOL}
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.tournament.rule=Host(`tournament.barron.agency`)"
- "traefik.http.routers.tournament.entrypoints=websecure"
- "traefik.http.routers.tournament.tls.certresolver=letsencrypt"
- "traefik.http.services.tournament.loadbalancer.server.port=3000"
networks:
proxy:
external: false
name: proxy