chore(docker): stack compose with env_file, no secrets in repo
Some checks failed
CI / build-and-test (pull_request) Has been cancelled

- docker-compose.stack.env for DB_* and CORS (gitignored)
- docker-compose.stack.env.example with placeholders
- .dockerignore excludes local stack env from build context

Made-with: Cursor
This commit is contained in:
Vaka.pro
2026-04-06 23:03:45 +03:00
parent d187bc776e
commit 2849b16e36
7 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Скопируйте в docker-compose.stack.env и подставьте свои значения.
# Файл docker-compose.stack.env не должен попадать в git (см. .gitignore).
DB_HOST=postgres
DB_PORT=5432
DB_NAME=calendar_run
DB_USER=calendar_user
DB_PASSWORD=replace_with_strong_secret
# Origin браузера для CORS (если заходите на фронт не с localhost — поменяйте)
CORS_ORIGIN=http://localhost:3033