25 lines
879 B
Plaintext
25 lines
879 B
Plaintext
# Copy to .env on the server, replace every change-me value, then chmod 600 .env.
|
|
COMPOSE_PROJECT_NAME=zarinpal_analytics
|
|
CADDY_NETWORK=caddy_proxy
|
|
|
|
# PostgreSQL. Keep the generated password URL-safe (for example: openssl rand -hex 32).
|
|
POSTGRES_DB=zarinpal
|
|
POSTGRES_USER=zarinpal
|
|
POSTGRES_PASSWORD=change-me-with-a-random-hex-value
|
|
|
|
# Redis is private but authenticated. Keep this value URL-safe too.
|
|
REDIS_PASSWORD=change-me-with-a-different-random-hex-value
|
|
|
|
# Absolute host path to the immutable first-import archive.
|
|
IMPORT_FILE=/srv/zarinpal-data/challenge_data.csv.gz
|
|
|
|
# Optional backup settings. These are reserved for the backup/restore scripts.
|
|
S3_BACKUP_BUCKET=
|
|
S3_BACKUP_PREFIX=backup/zarinpal-analytics
|
|
S3_BACKUP_ENDPOINT_URL=
|
|
S3_BACKUP_ACCESS_KEY_ID=
|
|
S3_BACKUP_SECRET_ACCESS_KEY=
|
|
BACKUP_ENCRYPTION_PASSPHRASE=
|
|
BACKUP_LOCAL_KEEP_LATEST=3
|
|
BACKUP_REMOTE_KEEP_LATEST=7
|