muyu-apiserver/deploy/.env.example
Chever John a5b1b406ea security: remove hardcoded credentials and add envsubst for go-zero configs
- Clear default passwords in all service configs and local dev YAMLs
- Add entrypoint.sh with envsubst to resolve ${ENV} vars in go-zero YAML
- Update Dockerfiles to install gettext and use entrypoint
- Update docker-compose to pass secrets via environment and require via ${VAR:?...}
- Add .gitignore rules for .env files, add .env.example template

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-17 23:16:28 +08:00

14 lines
421 B
Plaintext

# Copy this file to .env and fill in real values
# NEVER commit .env to git
# Database passwords (REQUIRED)
MYSQL_ROOT_PASSWORD=your_mysql_password_here
POSTGRES_PASSWORD=your_postgres_password_here
# JWT secret for gateway auth (REQUIRED)
ACCESS_SECRET=your_jwt_secret_here
# Neo4j (only needed for graph stack: docker-compose.graph.yaml)
NEO4J_AUTH=neo4j/your_neo4j_password_here
NEO4J_PASS=your_neo4j_password_here