forked from Erisa/Cliptok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (41 loc) · 1.08 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
40
41
version: '2.3'
services:
bot:
image: ghcr.io/erisa/cliptok
depends_on:
- redis
env_file:
- .env
restart: on-failure
volumes:
- type: bind
source: ./Lists/rudeWords.txt
target: /app/Lists/rudeWords.txt
- type: bind
source: ./Lists/usernames.txt
target: /app/Lists/usernames.txt
- type: bind
source: ./Lists/autoban.txt
target: /app/Lists/autoban.txt
# Uncomment the below lines to use your own config file.
#- type: bind
# source: ./config.json
# target: /app/config.json
environment:
# Overrides your configs Redis options for use with Docker Compose
# I don't advise changing this unless you have a strange setup
- REDIS_DOCKER_OVERRIDE=true
redis:
image: 'redis:alpine'
restart: always
volumes:
- type: bind
source: ./data
target: /data
command: --appendonly yes
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30
restart: always