Files
homelab-docker/smart home/iobroker/docker-compose.yml

24 lines
445 B
YAML

services:
iobroker:
image: buanet/iobroker:latest
container_name: iobroker
ports:
- "8081:8081"
volumes:
- opt:/opt/iobroker
restart: always
#detach: true
networks:
- iobroker_net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
iobroker_net:
driver: bridge
volumes:
opt: