First swagger version, added auto-migrate on startup
This commit is contained in:
15
.env
15
.env
@@ -0,0 +1,15 @@
|
||||
LOGIFLOW_DATABASE_HOST=postgres
|
||||
LOGIFLOW_DATABASE_PORT=5432
|
||||
LOGIFLOW_DATABASE_USER=postgres
|
||||
LOGIFLOW_DATABASE_PASSWORD=pass1234
|
||||
LOGIFLOW_DATABASE_NAME=logiflow
|
||||
LOGIFLOW_DATABASE_SSLMODE=disable
|
||||
|
||||
LOGIFLOW_REDIS_ADDR=redis:6379
|
||||
LOGIFLOW_REDIS_PASSWORD=redis123
|
||||
LOGIFLOW_JWT_KEY=98c5772ae16aaa4fd0013eb338252a93b198fb40e9337506334b3aeb21abbe4cd9289cdd
|
||||
|
||||
GOOSE_DRIVER=postgres
|
||||
GOOSE_DBSTRING=postgres://${LOGIFLOW_DATABASE_USER}:${LOGIFLOW_DATABASE_PASSWORD}@localhost:${LOGIFLOW_DATABASE_PORT}/${LOGIFLOW_DATABASE_NAME}?sslmode=disable
|
||||
GOOSE_MIGRATION_DIR=./migrations
|
||||
GOOSE_TABLE=goose_migrations
|
||||
Reference in New Issue
Block a user