use named volume for config sharing, use tmpfs for mysql
This commit is contained in:
@@ -26,8 +26,8 @@ services:
|
|||||||
container_name: harborforge-test-wizard
|
container_name: harborforge-test-wizard
|
||||||
user: 0:0
|
user: 0:0
|
||||||
restart: "no"
|
restart: "no"
|
||||||
tmpfs:
|
volumes:
|
||||||
- /config
|
- wizard_config:/config
|
||||||
environment:
|
environment:
|
||||||
CONFIG_DIR: /config
|
CONFIG_DIR: /config
|
||||||
LISTEN_ADDR: "0.0.0.0:8080"
|
LISTEN_ADDR: "0.0.0.0:8080"
|
||||||
@@ -45,8 +45,8 @@ services:
|
|||||||
image: harborforge-test-backend:dev
|
image: harborforge-test-backend:dev
|
||||||
container_name: harborforge-test-backend
|
container_name: harborforge-test-backend
|
||||||
restart: "no"
|
restart: "no"
|
||||||
tmpfs:
|
volumes:
|
||||||
- /config
|
- wizard_config:/config:ro
|
||||||
environment:
|
environment:
|
||||||
CONFIG_DIR: /config
|
CONFIG_DIR: /config
|
||||||
CONFIG_FILE: harborforge.json
|
CONFIG_FILE: harborforge.json
|
||||||
@@ -86,6 +86,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
BASE_URL: http://frontend:3000
|
BASE_URL: http://frontend:3000
|
||||||
WEB_SERVER_URL: http://frontend:3000
|
WEB_SERVER_URL: http://frontend:3000
|
||||||
|
WIZARD_URL: http://wizard:8080
|
||||||
CHROME_DEBUGGING_PORT: 9222
|
CHROME_DEBUGGING_PORT: 9222
|
||||||
depends_on:
|
depends_on:
|
||||||
frontend:
|
frontend:
|
||||||
@@ -95,6 +96,9 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- test-network
|
- test-network
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
wizard_config:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
test-network:
|
test-network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user