mirror of
https://github.com/getlago/lago.git
synced 2025-01-05 13:08:00 +07:00
7be44df4cf
- Enable Let's Encrypt support with ACME resolver 'myresolver' - Update Traefik rules to support templated DOMAIN variable - Remove unnecessary port mappings from API and frontend services - Secure Traefik dashboard and disable 'exposedbydefault' for improved security
75 lines
1.6 KiB
Plaintext
75 lines
1.6 KiB
Plaintext
#See more informations here : https://doc.getlago.com/guide/self-hosted/docker
|
|
|
|
|
|
# PostgreSQL Configuration
|
|
POSTGRES_DB=lago
|
|
POSTGRES_USER=lago
|
|
POSTGRES_PASSWORD=changeme
|
|
POSTGRES_HOST=db
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_SCHEMA=public
|
|
PGDATA=/data/postgres
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# Application Ports
|
|
API_PORT=3000
|
|
FRONT_PORT=80
|
|
|
|
|
|
# Lago API Configuration
|
|
DOMAIN=yourdomain.told
|
|
LAGO_API_URL=https://api.yourdomain.tld
|
|
LAGO_FRONT_URL=https://app.yourdomain.tld
|
|
SECRET_KEY_BASE=your-secret-key-base-hex-64
|
|
RAILS_ENV=production
|
|
LAGO_RAILS_STDOUT=true
|
|
LAGO_PDF_URL=http://pdf:3000
|
|
LAGO_DISABLE_SIGNUP=false
|
|
APP_ENV=production
|
|
|
|
# Encryption Keys
|
|
LAGO_RSA_PRIVATE_KEY=
|
|
LAGO_ENCRYPTION_PRIMARY_KEY=your-encryption-primary-key
|
|
LAGO_ENCRYPTION_DETERMINISTIC_KEY=your-encryption-deterministic-key
|
|
LAGO_ENCRYPTION_KEY_DERIVATION_SALT=your-encryption-derivation-salt
|
|
|
|
# AWS S3 Configuration
|
|
LAGO_USE_AWS_S3=false
|
|
LAGO_AWS_S3_ACCESS_KEY_ID=azerty123456
|
|
LAGO_AWS_S3_SECRET_ACCESS_KEY=azerty123456
|
|
LAGO_AWS_S3_REGION=us-east-1
|
|
LAGO_AWS_S3_BUCKET=bucket
|
|
LAGO_AWS_S3_ENDPOINT=
|
|
|
|
# Google Cloud Storage Configuration
|
|
LAGO_USE_GCS=false
|
|
LAGO_GCS_PROJECT=
|
|
LAGO_GCS_BUCKET=
|
|
|
|
# Redis Cache Configuration
|
|
LAGO_REDIS_CACHE_HOST=redis
|
|
LAGO_REDIS_CACHE_PORT=6379
|
|
LAGO_REDIS_CACHE_PASSWORD=
|
|
|
|
# Sentry Configuration
|
|
SENTRY_DSN=
|
|
SENTRY_DSN_FRONT=
|
|
|
|
# Lago Feature Flags
|
|
LAGO_DISABLE_SEGMENT=
|
|
LAGO_DISABLE_WALLET_REFRESH=
|
|
LAGO_SIDEKIQ_WEB=
|
|
SIDEKIQ_EVENTS=
|
|
SIDEKIQ_PDFS=
|
|
|
|
# OAuth and Authentication
|
|
LAGO_OAUTH_PROXY_URL=https://proxy.getlago.com
|
|
GOOGLE_AUTH_CLIENT_ID=
|
|
GOOGLE_AUTH_CLIENT_SECRET=
|
|
NANGO_SECRET_KEY=
|
|
LAGO_LICENSE=
|