feat: Docker Compose — app, PostgreSQL 17, опциональный Caddy

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shop
2026-05-17 09:41:03 +03:00
parent 8dae5d37fc
commit a4541cf266
7 changed files with 200 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
# Скопируйте: cp .env.docker.example .env
# Используется docker compose (переменные подставляются в compose)
POSTGRES_USER=shop
POSTGRES_PASSWORD=shop
POSTGRES_DB=shop
APP_PORT=3000
SESSION_SECRET=change-me-to-a-long-random-string
TRUST_PROXY=0
# С профилем proxy (Caddy): TRUST_PROXY=1