portainer/openhab/docker-compose.yml

38 lines
830 B
YAML
Raw Normal View History

version: '2.2'
services:
openhab:
image: openhab/openhab
container_name: openhab
restart: always
network_mode: host
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- addons:/openhab/addons
- conf:/openhab/conf
- data:/openhab/userdata
environment:
CRYPTO_POLICY: "unlimited"
EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
OPENHAB_HTTP_PORT: "8080"
OPENHAB_HTTPS_PORT: "8443"
openhab-log:
image: welteki/frontail-openhab:latest
container_name: openhab-log
ports:
- "9001:9001"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- data:/openhab/userdata:ro
volumes:
addons:
driver: local
conf:
driver: local
data:
driver: local