changed networking
This commit is contained in:
@@ -6,6 +6,9 @@ services:
|
||||
- "8501:8501"
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
networks:
|
||||
- proxynet
|
||||
- lose-local
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
@@ -16,6 +19,9 @@ services:
|
||||
build: ./backend
|
||||
ports:
|
||||
- "8502:8502"
|
||||
networks:
|
||||
- proxynet
|
||||
- lose-local
|
||||
environment:
|
||||
DB_HOST: mysql
|
||||
DB_USER: root
|
||||
@@ -31,6 +37,8 @@ services:
|
||||
container_name: mcs_lose-mysql
|
||||
image: mysql:8.0
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- lose-local
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: D7Ze0lwV9hMrNQHdz1Q8yi0MIQuOO8
|
||||
MYSQL_DATABASE: mcs_lose
|
||||
@@ -41,3 +49,9 @@ services:
|
||||
|
||||
volumes:
|
||||
mysql-data:
|
||||
|
||||
networks:
|
||||
proxynet:
|
||||
external: true
|
||||
lose-local:
|
||||
external: false
|
||||
|
Reference in New Issue
Block a user