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
+3
View File
@@ -22,6 +22,7 @@ services:
- portfolio_data:/app/.next/cache
networks:
- portfolio_net
- proxy
depends_on:
postgres:
condition: service_healthy
@@ -95,3 +96,5 @@ volumes:
networks:
portfolio_net:
driver: bridge
proxy:
external: true