-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
41 lines (38 loc) · 959 Bytes
/
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
40
41
services:
bot:
image: ghcr.io/n3aar/eery-project:main
restart: always
container_name: eery-bot
env_file:
- path: ./.env
required: false
volumes:
- eery-data:/data
labels:
- "com.centurylinklabs.watchtower.enable=true"
backup:
build:
context: .
dockerfile: ./docker/Dockerfile.backup
container_name: eery-backup
restart: always
volumes:
- eery-data:/data
- eery-backup:/backup
environment:
- DISCORD_BACKUP_WEBHOOK=${DISCORD_BACKUP_WEBHOOK}
watchtower:
image: containrrr/watchtower
restart: always
container_name: eery-watchtower
environment:
WATCHTOWER_NOTIFICATION_URL: >
discord://${DEPLOY_WEBHOOK_TOKEN}@${DEPLOY_WEBHOOK_ID}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 60 --cleanup --label-enable
volumes:
eery-data:
external: false
eery-backup:
external: false