wohnbot/docker-compose.yml

31 lines
703 B
YAML
Raw Normal View History

services:
2025-12-15 15:30:41 +01:00
wohnbot:
build: .
2025-12-15 15:30:41 +01:00
container_name: wohnbot
restart: unless-stopped
env_file:
- .env
2025-12-31 17:01:50 +01:00
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
2026-01-01 15:27:25 +01:00
- /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
2025-12-15 16:09:26 +01:00
networks:
proxy-network:
aliases:
- wohnbot
networks:
proxy-network:
external: true