goose migration established

This commit is contained in:
valitovgaziz
2024-08-11 17:40:19 +05:00
parent f9a7615801
commit 32daac3a49
5 changed files with 43 additions and 26 deletions
+13 -8
View File
@@ -1,11 +1,16 @@
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=postgres
DB_PORT=5432
HOST_DB=db
SERVER_PORT=8000
PGHOST=db
PGPORT=5432
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=postgres
SSLmode=disable
POSTGRESQL_URL='postgres://postgres:postgres@db:5432/postgres?sslmode=disable'
PGURL='postgres://postgres:postgres@db:5432/postgres?sslmode=disable'
# SERVER
SERVER_PORT=8000
# MIGRATOR
MIGRATOR_PORT=3000
MIGRATOR_PORT=3000
GOOSE_DRIVER=postgres
GOOSE_DBSTRING='user=postgres dbname=postgres sslmode=disable'
GOOSE_MIGRATION_DIR=migrations