Add portfolio app to proxy network
Some checks failed
CI/CD Pipeline (Using Gitea Variables & Secrets) / production (push) Failing after 8m42s
Test Gitea Variables and Secrets / test-variables (push) Successful in 3s

- 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:
2025-10-15 16:38:25 +02:00
parent e75457cf91
commit 1bc50ea7e5

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