diff --git a/cpn-lancache/docker-compose.yml b/cpn-lancache/docker-compose.yml index ea47121..6b2b9d1 100644 --- a/cpn-lancache/docker-compose.yml +++ b/cpn-lancache/docker-compose.yml @@ -3,15 +3,19 @@ version: "3.7" services: app_proxy: environment: - APP_HOST: cpn-lancache_app_1 + APP_HOST: app APP_PORT: "80" app: image: lancachenet/monolithic:latest - # network_mode: host ← ENTFERNT! + container_name: lancache_app + hostname: lancache + networks: + - lancache_network ports: - "80:80" - "443:443" + - "8080:8080" environment: - USE_GENERIC_CACHE=true - LANCACHE_IP=192.168.178.70 @@ -32,7 +36,9 @@ services: dns: image: lancachenet/lancache-dns:latest - # network_mode: host ← ENTFERNT! + container_name: lancache_dns + networks: + - lancache_network ports: - "53:53/udp" - "53:53/tcp" @@ -41,4 +47,8 @@ services: - LANCACHE_IP=192.168.178.70 - UPSTREAM_DNS=8.8.8.8 - TZ=Europe/Berlin - restart: unless-stopped \ No newline at end of file + restart: unless-stopped + +networks: + lancache_network: + driver: bridge \ No newline at end of file