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