Ver código fonte

chore: fix db migrations path in self hosting setup

Karol Sójko 2 anos atrás
pai
commit
e97b16606c
2 arquivos alterados com 1 adições e 4 exclusões
  1. 0 1
      .env.sample
  2. 1 3
      docker/docker-entrypoint.sh

+ 0 - 1
.env.sample

@@ -8,7 +8,6 @@ DB_USERNAME=std_notes_user
 DB_PASSWORD=changeme123
 DB_DATABASE=standard_notes_db
 DB_DEBUG_LEVEL=all
-DB_MIGRATIONS_PATH=dist/migrations/*.js
 
 #########
 # CACHE #

+ 1 - 3
docker/docker-entrypoint.sh

@@ -44,9 +44,7 @@ fi
 if [ -z "$DB_DEBUG_LEVEL" ]; then
   export DB_DEBUG_LEVEL="all"
 fi
-if [ -z "$DB_MIGRATIONS_PATH" ]; then
-  export DB_MIGRATIONS_PATH="dist/migrations/*.js"
-fi
+export DB_MIGRATIONS_PATH="dist/migrations/*.js"
 
 #########
 # CACHE #