update db
This commit is contained in:
parent
496118b515
commit
25cbfa2cf9
@ -2,7 +2,7 @@ services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- '8082:8080' # Change the host port from 8080 to 8082
|
||||
- '8082:8080'
|
||||
environment:
|
||||
- DB_HOST=db
|
||||
- DB_USER=admin
|
||||
@ -12,8 +12,9 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
- .:/app # Monte le répertoire courant dans le conteneur
|
||||
working_dir: /app # Définit le répertoire de travail dans le conteneur
|
||||
command: ["node", "app.js"] # Commande pour démarrer l'application
|
||||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user