-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #455 from getlago/feat/improv-dev-env
feat(docker): Use .env files for dev environment
- Loading branch information
Showing
3 changed files
with
74 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
LAGO_API_URL=https://api.lago.dev | ||
LAGO_FRONT_URL=https://app.lago.dev | ||
|
||
# Feature flags | ||
LAGO_SIDEKIQ_WEB=true | ||
LAGO_CLICKHOUSE_ENABLED=true | ||
LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true | ||
LAGO_DISABLE_SEGMENT=true | ||
LAGO_DISABLE_WALLET_REFRESH=true | ||
LAGO_USE_AWS_S3=false | ||
|
||
# DB Seeding | ||
LAGO_CREATE_ORG=true | ||
[email protected] | ||
LAGO_ORG_USER_PASSWORD=password | ||
LAGO_ORG_NAME=Acme | ||
|
||
# Accessories (DB, pdf, kafka) | ||
POSTGRES_USER=lago | ||
POSTGRES_DB=lago | ||
POSTGRES_PASSWORD=changeme | ||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} | ||
REDIS_URL=redis://redis:6379 | ||
LAGO_REDIS_CACHE_URL=redis://redis:6379 | ||
LAGO_PDF_URL=http://pdf:3000 | ||
LAGO_LICENSE_URL=http://license:3000 | ||
LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092 | ||
LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw | ||
LAGO_KAFKA_ENRICHED_EVENTS_TOPIC=events_enriched | ||
LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse | ||
|
||
# Misc | ||
[email protected] | ||
LAGO_PARALLEL_THREADS_COUNT=4 | ||
|
||
# Use dedicated services to process certain queues | ||
# If you enable one, make sure the related service is started | ||
# Ex: SIDEKIQ_WEBHOOK=true means `api-webhook-worker` must be running or webhooks-related jobs won't be processed | ||
SIDEKIQ_EVENTS=false | ||
SIDEKIQ_PDFS=false | ||
SIDEKIQ_BILLING=false | ||
SIDEKIQ_CLOCK=false | ||
SIDEKIQ_WEBHOOK=false | ||
|
||
# External API keys | ||
LAGO_LICENSE="35be6ead-a590-4593-9a45-01f62c248faa" | ||
NANGO_SECRET_KEY= | ||
SEGMENT_WRITE_KEY= | ||
|
||
# Salts and similar | ||
SECRET_KEY_BASE=your-secret-key-base-hex-64 | ||
LAGO_ENCRYPTION_PRIMARY_KEY=your-encrpytion-primary-key | ||
LAGO_ENCRYPTION_DETERMINISTIC_KEY=your-encrpytion-deterministic-key | ||
LAGO_ENCRYPTION_KEY_DERIVATION_SALT=your-encrpytion-derivation-salt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*.code-workspace | ||
.DS_Store | ||
.env | ||
.env.development | ||
.rsa_private.pem | ||
.vscode | ||
/extra/ssl/certbot | ||
|
Oops, something went wrong.