chore(docker): stack compose with env_file, no secrets in repo
Some checks failed
CI / build-and-test (pull_request) Has been cancelled
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:
11
docker-compose.stack.env.example
Normal file
11
docker-compose.stack.env.example
Normal 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
|
||||
Reference in New Issue
Block a user