More docker, express and config setup

This commit is contained in:
Florian Sylvain
2023-01-26 14:47:41 +01:00
parent 9a890135bc
commit 2082c9330c
7 changed files with 112 additions and 9 deletions
+3 -3
View File
@@ -5,8 +5,8 @@ services:
- .env
networks:
- back-net
ports:
- 3306:3306
# ports:
# - 3306:3306
environment:
- "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}"
- "MYSQL_DATABASE=snippetsmanager"
@@ -30,7 +30,7 @@ services:
networks:
- back-net
ports:
- "${API_PORT}:3000"
- "${API_PORT}:${API_PORT}"
networks:
back-net: