-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
32 lines (31 loc) · 1.04 KB
/
docker-compose.yml
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:
tournament-bot:
build:
context: ./
dockerfile: Dockerfile
args:
- DATABASE_URL=${DATABASE_URL}
- TOKEN=${TOKEN}
- ADMIN_ROLE=${ADMIN_ROLE}
- TOURNAMENT_JOIN_LEAVE_CHANNEL=${TOURNAMENT_JOIN_LEAVE_CHANNEL}
- TOURNAMENT_INFO_CHANNEL=${TOURNAMENT_INFO_CHANNEL}
environment:
- DATABASE_URL=${DATABASE_URL}
- TOKEN=${TOKEN}
- ADMIN_ROLE=${ADMIN_ROLE}
- TOURNAMENT_JOIN_LEAVE_CHANNEL=${TOURNAMENT_JOIN_LEAVE_CHANNEL}
- TOURNAMENT_INFO_CHANNEL=${TOURNAMENT_INFO_CHANNEL}
container_name: tournament-bot
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.tournament-bot.rule=Host(`tournament-bot.barron.agency`)"
- "traefik.http.routers.tournament-bot.entrypoints=websecure"
- "traefik.http.routers.tournament-bot.tls.certresolver=letsencrypt"
- "traefik.http.services.tournament-bot.loadbalancer.server.port=3000"
networks:
- proxy
networks:
proxy:
external: false
name: proxy