prod
This commit is contained in:
parent
d596ed7e19
commit
aa6626d80d
21 changed files with 1051 additions and 333 deletions
|
|
@ -9,7 +9,17 @@ services:
|
|||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
volumes:
|
||||
- /srv/dev-disk-by-uuid-a920d9c0-dfc1-4a58-ae4d-92cf88ff04a5/docker-app/wohnbot/data:/data:rw
|
||||
- /srv/dev-disk-by-uuid-a920d9c0-dfc1-4a58-ae4d-92cf88ff04a5/docker-app/wohnbot/data:/app/data:rw
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"pgrep -f 'python.*main.py' > /dev/null && test -f /app/data/monitor.log && test $$(find /app/data/monitor.log -mmin -10 | wc -l) -gt 0 || exit 1",
|
||||
]
|
||||
interval: 5m
|
||||
timeout: 30s
|
||||
start_period: 30s
|
||||
retries: 3
|
||||
networks:
|
||||
proxy-network:
|
||||
aliases:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue