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).
This commit is contained in:
denshooter
2025-10-15 16:38:25 +02:00
parent e75457cf91
commit 1bc50ea7e5
+4 -1
View File
@@ -22,6 +22,7 @@ services:
- portfolio_data:/app/.next/cache - portfolio_data:/app/.next/cache
networks: networks:
- portfolio_net - portfolio_net
- proxy
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
@@ -94,4 +95,6 @@ volumes:
networks: networks:
portfolio_net: portfolio_net:
driver: bridge driver: bridge
proxy:
external: true