Browse Source

fix: env vars for database runs

Karol Sójko 1 year ago
parent
commit
501ac0e99f
2 changed files with 2 additions and 11 deletions
  1. 1 1
      .github/ci.env
  2. 1 10
      .github/workflows/common-e2e.yml

+ 1 - 1
.github/ci.env

@@ -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
.github/workflows/common-e2e.yml

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