update db

This commit is contained in:
cangui 2024-10-05 18:38:12 +02:00
parent bc94ac0b54
commit 9ec72f4622

View File

@ -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: