id: docker-config title: Docker Configuration (.env) This page documents the environment variables used by the Docker deployment. Use aDocumentation Index
Fetch the complete documentation index at: https://docs.sitecopilot.ai/llms.txt
Use this file to discover all available pages before exploring further.
.env file and avoid committing secrets to git.
Minimal .env example
Notes
- You can either provide the MySQL fields individually (as above) or use a single
DATABASE_URLsuch as:
DATABASE_URL=mysql://sc_user:pass@mysql:3306/sitecopilot
-
If Redis requires auth, set
REDIS_PASSWORDand ensure the site config is aware. - Keep secrets out of source control; use a secrets manager for production.
Recommended filesystem layout
-
volumesfor MySQL, Redis and uploads (persistent storage). -
Backups: schedule
mysqldumpto an object storage or snapshot volumes.