From caf0a2f5634e82d7bc27f46da15efbf0da1dd888 Mon Sep 17 00:00:00 2001 From: Rostislav Dugin Date: Thu, 5 Jun 2025 16:26:09 +0300 Subject: [PATCH] FEATURE (env): Update example .env updated --- backend/.env.example | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index ecbd041..8b3601b 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -1,13 +1,13 @@ # docker-compose.yml -DB_NAME=postgresus -DB_USERNAME=postgres -DB_PASSWORD=Q1234567 +DEV_DB_NAME=postgresus +DEV_DB_USERNAME=postgres +DEV_DB_PASSWORD=Q1234567 #app -ENV_MODE=development +ENV_MODE=production # db -DATABASE_DSN=host=localhost user=postgres password=Q1234567 dbname=postgresus port=5437 sslmode=disable -DATABASE_URL=postgres://postgres:Q1234567@localhost:5437/postgresus?sslmode=disable +DATABASE_DSN=host=postgresus-db user=postgres password=Q1234567 dbname=postgresus port=5437 sslmode=disable +DATABASE_URL=postgres://postgres:Q1234567@postgresus-db:5437/postgresus?sslmode=disable # migrations GOOSE_DRIVER=postgres -GOOSE_DBSTRING=postgres://postgres:Q1234567@localhost:5437/postgresus?sslmode=disable +GOOSE_DBSTRING=postgres://postgres:Q1234567@postgresus-db:5437/postgresus?sslmode=disable GOOSE_MIGRATION_DIR=./migrations \ No newline at end of file