-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
29 lines (27 loc) · 1.07 KB
/
compose.yaml
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
version: "3.8"
services:
#Это конфигурация Docker Compose для запуска бота администрирования Discord серверами + веб-интерфейса для его управлением.
discord-yagpdb:
command: ["-all", "-pa", "-exthttps=true", "-https=false"]
container_name: discord-yagpdb
deploy:
restart_policy:
condition: always
delay: 5s
env_file: yagpdb.env
image: teyker/yagpdb:latest
labels:
com.centurylinklabs.watchtower.enable: "true"
traefik.enable: "true"
traefik.http.routers.discord-yagpdb.entrypoints: "websecure"
traefik.http.routers.discord-yagpdb.rule: "Host(`discord.${DOMAIN}`)"
traefik.http.routers.discord-yagpdb.service: "discord-yagpdb"
traefik.http.routers.discord-yagpdb.tls.certresolver: "letsencrypt"
traefik.http.services.discord-yagpdb.loadbalancer.server.port: "80"
volumes:
- "./yagpdb/cert:/app/cert"
- "./yagpdb/soundboard:/app/soundboard"
networks:
external:
external: true
name: $NETWORK