fix: env vars for database runs

This commit is contained in:
Karol Sójko
2023-07-27 14:32:55 +02:00
parent 959a11293a
commit 501ac0e99f
2 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PUBLIC_FILES_SERVER_URL=http://localhost:3125
DB_HOST=db_for_docker
DB_HOST=db
DB_USERNAME=std_notes_user
DB_PASSWORD=changeme123
DB_DATABASE=standard_notes_db
+1 -10
View File
@@ -71,16 +71,7 @@ jobs:
image: redis
ports:
- 6379:6379
db_for_docker:
image: mysql
ports:
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: standardnotes
MYSQL_USER: standardnotes
MYSQL_PASSWORD: standardnotes
db_for_home_server:
db:
image: mysql
ports:
- 3307:3306