docker-composes angepasst

This commit is contained in:
2025-09-24 21:33:00 +00:00
parent a9428fee94
commit 744488fb5b
7 changed files with 256 additions and 12 deletions

23
.env.example Normal file
View File

@@ -0,0 +1,23 @@
# Rezepte Environment Example
# --- Domain & Routing ---
DOMAIN=example.com
ACME_EMAIL=admin@example.com
# --- Database ---
MYSQL_PASSWORD=change_this_password
MYSQL_ROOT_PASSWORD=change_this_root_password
# --- Auth / Security ---
JWT_SECRET=please_change_to_secure_32_char_min
CORS_ORIGIN=https://rezepte.${DOMAIN}
# --- Images from Registry (override if pushing to GHCR or custom registry) ---
BACKEND_IMAGE=docker.citysensor.de/rezepte-backend:latest
FRONTEND_IMAGE=docker.citysensor.de/rezepte-frontend:latest
# --- Frontend API URL (if building locally outside compose) ---
PRODUCTION_API_URL=https://rezepte.${DOMAIN}/api
# --- Optional HOST_IP for local network override builds ---
HOST_IP=192.168.1.100