Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FEATURE (env): Update example .env updated

Rostislav Dugincaf0a2f5634e
diff --git a/backend/.env.example b/backend/.env.example
index ecbd0414..8b3601bf 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