update db
This commit is contained in:
parent
bc94ac0b54
commit
9ec72f4622
@ -12,9 +12,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app # Monte le répertoire de l'hôte dans le conteneur
|
- backend_server_app:/app # Use the backend_server_app volume
|
||||||
working_dir: /app # Définit le répertoire de travail dans le conteneur
|
working_dir: /app # Sets the working directory in the container
|
||||||
command: sh -c "chmod -R 777 /app && npm install && node app.js"
|
command: sh -c "npm install && node app.js" # Command to start the application
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
@ -39,4 +39,5 @@ services:
|
|||||||
- db
|
- db
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
backend_server_app: # Declare the backend_server_app volume
|
||||||
db_data_new:
|
db_data_new:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user