-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 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
33
34
35
36
37
38
39
version: "3.7"
services:
xusta_bot:
container_name: xusta_bot
build: ./
image: local/xusta_bot:latest
restart: unless-stopped
privileged: true
ports:
- 7001:80
volumes:
- $XUSTABOT_DATA:/app/logs/logs.csv
devices:
- /dev/input/by-path/platform-pcspkr-event-spkr:/dev/input/by-path/platform-pcspkr-event-spkr
environment:
- TOKEN=$BOT_TOKEN
- LOG_FILE=$MESSAGES_LOG_FILE
- HOST=$HOST
- PORT=$PORT
- CAM_USER=$CAM_USER
- CAM_PASSWORD=$CAM_PASSWORD
- CAM_IP=$CAM_IP
- CAM_PORT=$CAM_PORT
- GODMODE=$GODMODE
- GROUPS=$GROUPS
- TIMES_A_DAY=$TIMES_A_DAY
- GET_INTERVAL=$GET_INTERVAL
networks:
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.telegram.entrypoints=websecure
- traefik.http.routers.telegram.rule=Host(`telegram.$DOMAIN`)
- traefik.http.routers.telegram.tls=true
- traefik.http.routers.telegram.tls.certresolver=le
networks:
traefik:
name: traefik
external: true