rework of docker containers

This commit is contained in:
2021-11-07 10:13:25 +01:00
parent d27ac60619
commit 1b11399b19
3 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
version: '2.2'
volumes:
openhab_addons:
openhab_conf:
openhab_userdata:
services:
openhab:
image: "openhab/openhab:3.0.1"
container_name: openhab
restart: always
ports:
- "88:8080"
- "8443:8443"
volumes:
- openhab_addons:/openhab/addons
- openhab_conf:/openhab/conf
- openhab_userdata:/openhab/userdata
environment:
OPENHAB_HTTP_PORT: "8080"
OPENHAB_HTTPS_PORT: "8443"
EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
networks:
- nginx_network
networks:
nginx_network:
driver: bridge