-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 1000 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (43 loc) · 1000 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
37
38
39
40
41
42
43
44
version: '3.6'
services:
thonkbot:
build: .
image: registry.nepeat.com/thonkbot:latest
volumes:
- /srv/thonkbot:/app
- /srv/thonkbot_config:/secrets
deploy:
restart_policy:
condition: any
delay: 5s
networks:
- app
thonkupdate:
build: https://github.com/general-programming/thonkupdate.git
image: registry.nepeat.com/thonkupdate:latest
volumes:
- /srv/thonkbot/configs:/app/config
- /srv/thonkbot_config:/secrets
- /srv/thonkbot:/srv/thonkbot
environment:
CONFIG: /app/config/config.ini
ports:
- "5010:5010"
deploy:
restart_policy:
condition: any
delay: 5s
labels:
traefik.enable: 'true'
traefik.port: '5010'
traefik.frontend.rule: 'Host:hook.thonk.dev'
traefik.docker.network: 'publicweb'
networks:
- app
- publicweb
networks:
app:
driver: overlay
publicweb:
driver: overlay
external: true