mirror of
https://github.com/Floriansylvain/SnippetsManager.git
synced 2026-08-19 11:43:15 +02:00
More docker, express and config setup
This commit is contained in:
+3
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user