From 1bc50ea7e5061f29657dfe7dcb90e4c24d18d212 Mon Sep 17 00:00:00 2001 From: denshooter Date: Wed, 15 Oct 2025 16:38:25 +0200 Subject: [PATCH] Add portfolio app to proxy network - Add proxy network to portfolio service networks - Define proxy as external network in Docker Compose - This allows the application to be accessible through the proxy network - Fixes the 'Main page is not accessible' issue The portfolio app will now be on both portfolio_net (for internal communication) and proxy (for external access). --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 158e444..9a6d89d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,7 @@ services: - portfolio_data:/app/.next/cache networks: - portfolio_net + - proxy depends_on: postgres: condition: service_healthy @@ -94,4 +95,6 @@ volumes: networks: portfolio_net: - driver: bridge \ No newline at end of file + driver: bridge + proxy: + external: true \ No newline at end of file