use named volume for config sharing, use tmpfs for mysql

This commit is contained in:
Zhi
2026-03-13 19:20:01 +00:00
parent a74d422b60
commit d503dc178c

View File

@@ -26,8 +26,8 @@ services:
container_name: harborforge-test-wizard
user: 0:0
restart: "no"
tmpfs:
- /config
volumes:
- wizard_config:/config
environment:
CONFIG_DIR: /config
LISTEN_ADDR: "0.0.0.0:8080"
@@ -45,8 +45,8 @@ services:
image: harborforge-test-backend:dev
container_name: harborforge-test-backend
restart: "no"
tmpfs:
- /config
volumes:
- wizard_config:/config:ro
environment:
CONFIG_DIR: /config
CONFIG_FILE: harborforge.json
@@ -86,6 +86,7 @@ services:
environment:
BASE_URL: http://frontend:3000
WEB_SERVER_URL: http://frontend:3000
WIZARD_URL: http://wizard:8080
CHROME_DEBUGGING_PORT: 9222
depends_on:
frontend:
@@ -95,6 +96,9 @@ services:
networks:
- test-network
volumes:
wizard_config:
networks:
test-network:
driver: bridge