-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
36 lines (36 loc) · 996 Bytes
/
Copy pathcompose.yml
File metadata and controls
36 lines (36 loc) · 996 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
32
33
34
35
36
services:
bot:
image: ghcr.io/floatingmilkshake/azusa
restart: on-failure
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind
source: ./config.json
target: /app/config.json
env_file: .env
labels: [ "com.centurylinklabs.watchtower.scope=azusa" ]
redis:
image: redis:alpine
restart: always
volumes:
- type: bind
source: ./redisdata
target: /data
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 5s
retries: 5
command: --appendonly yes
labels: [ "com.centurylinklabs.watchtower.scope=azusa" ]
watchtower:
image: nickfedor/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ~/.docker/config.json:/config.json
command: --interval 30 --label-enable --scope azusa
restart: always
labels: [ "com.centurylinklabs.watchtower.scope=azusa" ]