Add separate compose files for port exposure options
- docker-compose-frontend.yml: No port exposure (default)
- docker-compose-frontend-expose.yml: Expose ports to host
- run-test-frontend.sh: Test script with --expose-port {on|off} option
- cleanup-frontend.sh: Cleanup script with --expose-port option
This commit is contained in:
@@ -53,11 +53,6 @@ services:
|
||||
SECRET_KEY: ${SECRET_KEY:-change_me_in_production}
|
||||
LOG_LEVEL: ${LOG_LEVEL:-INFO}
|
||||
DATABASE_URL: mysql+pymysql://harborforge:harborforge_pass@mysql:3306/harborforge
|
||||
ports:
|
||||
- "${MAP_BACKEND_PORT:- }:8000"
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- test-network
|
||||
|
||||
@@ -73,11 +68,6 @@ services:
|
||||
restart: "no"
|
||||
environment:
|
||||
VITE_API_BASE_URL: http://backend:8000
|
||||
ports:
|
||||
- "${MAP_FRONTEND_PORT:- }:3000"
|
||||
depends_on:
|
||||
- wizard
|
||||
- backend
|
||||
networks:
|
||||
- test-network
|
||||
|
||||
|
||||
Reference in New Issue
Block a user