diff --git a/docker-compose.yml b/docker-compose.yml index fdc6281..5252cce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,3 +26,19 @@ - "${OPENHAB_HTTP_BIND:-127.0.0.1}:${OPENHAB_HTTP_PORT:-8080}:8080" - "${OPENHAB_HTTPS_BIND:-127.0.0.1}:${OPENHAB_HTTPS_PORT:-8443}:8443" - "${OPENHAB_OSGI_BIND:-127.0.0.1}:${OPENHAB_OSGI_PORT:-5555}:5555" + networks: + openhab-network: + ipv4_address: 172.55.55.100 + aliases: + - openhab-main + + +networks: + openhab-network: + driver: bridge + enable_ipv6: false + ipam: + driver: default + config: + - subnet: 172.55.55.0/24 +