Skip to content

Commit

Permalink
feat: Add Lago license key to Docker (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto authored Jul 26, 2024
1 parent e6cc3ea commit 37420ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ services:
- LAGO_KAFKA_ENRICHED_EVENTS_TOPIC=events_enriched
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-events-worker:
image: api_deb
Expand Down Expand Up @@ -209,6 +210,7 @@ services:
- LAGO_KAFKA_ENRICHED_EVENTS_TOPIC=events_enriched
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-pdfs-worker:
image: api_dev
Expand Down Expand Up @@ -247,6 +249,7 @@ services:
- LAGO_KAFKA_ENRICHED_EVENTS_TOPIC=events_enriched
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-clock:
image: api_dev
Expand Down Expand Up @@ -278,6 +281,7 @@ services:
- LAGO_KAFKA_ENRICHED_EVENTS_TOPIC=events_enriched
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}

pdf:
image: getlago/lago-gotenberg:7
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ services:
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT}
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}
# - SIDEKIQ_EVENTS=true
# - SIDEKIQ_PDFS=true
volumes:
Expand Down Expand Up @@ -215,6 +216,7 @@ services:
# - LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH}
# - NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
# - SIDEKIQ_EVENTS=true
# - LAGO_LICENSE=${LAGO_LICENSE:-}

# You can uncomment this if you want to use a dedicated Sidekiq worker for the invoices pdf creation.
# It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs.
Expand Down Expand Up @@ -257,6 +259,7 @@ services:
# - LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH}
# - NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
# - SIDEKIQ_PDFS=true
# - LAGO_LICENSE=${LAGO_LICENSE:-}

api-clock:
container_name: lago-clock
Expand All @@ -283,6 +286,7 @@ services:
- ENCRYPTION_DETERMINISTIC_KEY=${LAGO_ENCRYPTION_DETERMINISTIC_KEY:-your-encryption-deterministic-key}
- ENCRYPTION_KEY_DERIVATION_SALT=${LAGO_ENCRYPTION_KEY_DERIVATION_SALT:-your-encryption-derivation-salt}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
- LAGO_LICENSE=${LAGO_LICENSE:-}

pdf:
image: getlago/lago-gotenberg:7.8.2

0 comments on commit 37420ee

Please sign in to comment.