Update .env.example for local and production database configurations, ensuring clarity on usage. Modify .gitattributes to enforce LF line endings for shell scripts. Enhance README.md with Docker and Coolify setup instructions for production deployment.
This commit is contained in:
+6
-1
@@ -2,5 +2,10 @@
|
||||
# Kopieren: cp .env.example .env
|
||||
|
||||
# --- Postgres (Pflicht für die Website) ---
|
||||
# docker compose -f docker-compose.dev.yml up -d
|
||||
# Lokal: docker compose -f docker-compose.dev.yml up -d
|
||||
DATABASE_URL="postgresql://flixcooks:flixcooks_dev@127.0.0.1:5432/flixcooks_dev"
|
||||
|
||||
# --- Production / Coolify (im Dashboard setzen, nicht committen) ---
|
||||
# DATABASE_URL="postgresql://user:pass@postgresql-service:5432/flixcooks"
|
||||
# FLIXCOOKS_ADMIN_KEY="langes-zufaelliges-passwort"
|
||||
# RUN_DB_SEED="true" # nur beim allerersten Deploy, danach entfernen
|
||||
|
||||
Reference in New Issue
Block a user