From 588a131d6897ae6c7a70f9b451f7e3f338e8f7b0 Mon Sep 17 00:00:00 2001 From: Grzegorz Kucmierz Date: Mon, 16 Feb 2026 13:45:16 +0100 Subject: [PATCH] Refactor docker-compose to match standard NPM setup (remove internal network) --- docker-compose.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 86c4c69..6a30f7d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,17 @@ version: '3.8' services: - app: - container_name: nonograms-app + nonograms: + container_name: nonograms build: context: . dockerfile: Dockerfile - ports: - - "8081:80" + expose: + - "80" restart: unless-stopped - # Uncomment the following lines if you want to mount the configuration locally for development/testing - # volumes: - # - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro + networks: + - npm_public + +networks: + npm_public: + external: true