Skip to content

Commit

Permalink
refactor(docker-compose): extract environment variables to .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
electrosenpai committed Sep 27, 2024
1 parent 708aca6 commit 6766c5b
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions env
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# PostgreSQL Configuration
POSTGRES_DB=lago
POSTGRES_USER=lago
POSTGRES_PASSWORD=changeme
POSTGRES_PORT=5432
POSTGRES_HOST=db
POSTGRES_SCHEMA=public
PGDATA=/data/postgres

# Redis Configuration
REDIS_PORT=6379
REDIS_HOST=redis
REDIS_PASSWORD=

# Lago API Configuration
LAGO_API_URL=http://localhost:3000
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}?search_path=${POSTGRES_SCHEMA}
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
SECRET_KEY_BASE=your-secret-key-base-hex-64
RAILS_ENV=production
LAGO_RAILS_STDOUT=true
SENTRY_DSN=
LAGO_FRONT_URL=http://localhost
RSA_PRIVATE_KEY=
LAGO_RSA_PRIVATE_KEY=
LAGO_SIDEKIQ_WEB=
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
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=
LAGO_USE_GCS=false
LAGO_GCS_PROJECT=
LAGO_GCS_BUCKET=
LAGO_PDF_URL=http://pdf:3000
LAGO_REDIS_CACHE_HOST=redis
LAGO_REDIS_CACHE_PORT=6379
LAGO_REDIS_CACHE_PASSWORD=
LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST}:${LAGO_REDIS_CACHE_PORT}
LAGO_DISABLE_SEGMENT=
LAGO_DISABLE_WALLET_REFRESH=
LAGO_OAUTH_PROXY_URL=https://proxy.getlago.com
LAGO_LICENSE=
GOOGLE_AUTH_CLIENT_ID=
GOOGLE_AUTH_CLIENT_SECRET=
NANGO_SECRET_KEY=
SIDEKIQ_EVENTS=
SIDEKIQ_PDFS=
API_PORT=3000
FRONT_PORT=80
APP_ENV=production
LAGO_DISABLE_SIGNUP=false
SENTRY_DSN_FRONT=

0 comments on commit 6766c5b

Please sign in to comment.