Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getlago/lago
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.12.3
Choose a base ref
...
head repository: getlago/lago
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Oct 9, 2024

  1. bump to 1.13.1

    lovrocolic committed Oct 9, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9eb1306 View commit details
  2. update docker-compose

    lovrocolic committed Oct 9, 2024
    Copy the full SHA
    6442031 View commit details
  3. Merge pull request #418 from getlago/bump-1-13-1

    misc: Bump to 1.13.1
    lovrocolic authored Oct 9, 2024
    Copy the full SHA
    c5f08c5 View commit details

Commits on Oct 17, 2024

  1. Copy the full SHA
    e45cb45 View commit details
  2. Merge pull request #419 from getlago/bump-version

    misc: Bump version from 1.13.1 to 1.14.0
    rsempe authored Oct 17, 2024
    Copy the full SHA
    5d08b61 View commit details

Commits on Oct 29, 2024

  1. Copy the full SHA
    29c5b12 View commit details

Commits on Oct 30, 2024

  1. Bump version to 1.15.1 (#421)

    nudded authored Oct 30, 2024
    Copy the full SHA
    5127c0b View commit details

Commits on Nov 4, 2024

  1. Copy the full SHA
    46d218b View commit details
  2. Copy the full SHA
    0ca6cdf View commit details
  3. Copy the full SHA
    f8f66ac View commit details

Commits on Nov 8, 2024

  1. Copy the full SHA
    a46d806 View commit details
  2. Merge pull request #429 from getlago/fix-docker-compose-dev

    fix(compose-dev): docker-compose migrate start script path
    electrosenpai authored Nov 8, 2024
    Copy the full SHA
    d6dde8c View commit details

Commits on Nov 20, 2024

  1. Bump version to 1.16.0 (#430)

    nudded authored Nov 20, 2024
    Copy the full SHA
    152790a View commit details

Commits on Dec 3, 2024

  1. Copy the full SHA
    853b399 View commit details

Commits on Dec 5, 2024

  1. Copy the full SHA
    12857ad View commit details

Commits on Dec 11, 2024

  1. Copy the full SHA
    56fe5cb View commit details
  2. Merge pull request #435 from getlago/bump-version

    misc: Bump version from 1.17.0 to 1.17.1
    rsempe authored Dec 11, 2024
    Copy the full SHA
    763966b View commit details

Commits on Dec 12, 2024

  1. update versions

    annvelents committed Dec 12, 2024
    Copy the full SHA
    a73b6de View commit details
  2. Merge pull request #436 from getlago/misc-v1-17-2

    update versions
    annvelents authored Dec 12, 2024
    Copy the full SHA
    9f8959d View commit details

Commits on Dec 18, 2024

  1. bump version to 1.17.3 (#438)

    nudded authored Dec 18, 2024
    Copy the full SHA
    049faaa View commit details
  2. chore(scalability): Add clock worker (#437)

    * chore(scalability): Add clock worker
    
    * update sub repo
    jdenquin authored Dec 18, 2024
    Copy the full SHA
    7e73d0f View commit details

Commits on Dec 19, 2024

  1. Copy the full SHA
    87bcb72 View commit details

Commits on Dec 24, 2024

  1. Bump version to 1.17.4 (#440)

    nudded authored Dec 24, 2024
    Copy the full SHA
    18374c6 View commit details

Commits on Jan 6, 2025

  1. feat(docker-compose): Allow sign up disable in api (#441)

    Co-authored-by: Alireza Ghassemi <ravenblackdusk@gmail.com>
    ravenblackdusk and Alireza Ghassemi authored Jan 6, 2025
    Copy the full SHA
    3d849f5 View commit details

Commits on Jan 13, 2025

  1. Copy the full SHA
    0876d46 View commit details

Commits on Jan 14, 2025

  1. Copy the full SHA
    54ff23d View commit details

Commits on Jan 16, 2025

  1. Copy the full SHA
    73fffbb View commit details
Showing with 307 additions and 21 deletions.
  1. +1 −1 api
  2. +145 −7 docker-compose.dev.yml
  3. +160 −12 docker-compose.yml
  4. +1 −1 front
2 changes: 1 addition & 1 deletion api
Submodule api updated 1408 files
152 changes: 145 additions & 7 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -112,6 +112,9 @@ services:
- LAGO_SIDEKIQ_WEB=true
- SIDEKIQ_EVENTS=true
- SIDEKIQ_PDFS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
@@ -137,7 +140,7 @@ services:
image: api_dev
container_name: lago_api_worker
restart: unless-stopped
command: ["./scripts/start.worker.dev.sh"]
command: bash -c "bundle install && ./scripts/start.worker.sh"
depends_on:
- api
build:
@@ -164,22 +167,25 @@ services:
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_EVENTS=true
- SIDEKIQ_PDFS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events_raw
- 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
image: api_dev
container_name: lago_api_events_worker_dev
depends_on:
- api
restart: unless-stopped
command: ["./scripts/start.events.worker.dev.sh"]
command: bash -c "bundle install && ./scripts/start.events.worker.sh"
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
@@ -203,6 +209,9 @@ services:
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH:-}
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_EVENTS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
@@ -218,7 +227,132 @@ services:
depends_on:
- api
restart: unless-stopped
command: ["./scripts/start.pdfs.worker.dev.sh"]
command: bash -c "bundle install && ./scripts/start.pdfs.worker.sh"
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
volumes:
- $LAGO_PATH/api:/app:delegated
environment:
- LAGO_API_URL=https://api.lago.dev
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
- REDIS_URL=redis://redis:6379
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- LAGO_ENCRYPTION_PRIMARY_KEY=${ENCRYPTION_PRIMARY_KEY:-your-encrpytion-primary-key}
- LAGO_ENCRYPTION_DETERMINISTIC_KEY=${ENCRYPTION_DETERMINISTIC_KEY:-your-encrpytion-deterministic-key}
- LAGO_ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt}
- LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false}
- LAGO_FRONT_URL=${LAGO_FRONT_URL:-https://app.lago.dev}
- LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4}
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
- LAGO_REDIS_CACHE_URL=redis://redis:6379
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH:-}
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_PDFS=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- 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
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY:-}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-billing-worker:
image: api_dev
container_name: lago_api_billing_worker_dev
depends_on:
- api
restart: unless-stopped
command: bash -c "bundle install && ./scripts/start.billing.worker.sh"
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
volumes:
- $LAGO_PATH/api:/app:delegated
environment:
- LAGO_API_URL=https://api.lago.dev
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
- REDIS_URL=redis://redis:6379
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- LAGO_ENCRYPTION_PRIMARY_KEY=${ENCRYPTION_PRIMARY_KEY:-your-encrpytion-primary-key}
- LAGO_ENCRYPTION_DETERMINISTIC_KEY=${ENCRYPTION_DETERMINISTIC_KEY:-your-encrpytion-deterministic-key}
- LAGO_ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt}
- LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false}
- LAGO_FRONT_URL=${LAGO_FRONT_URL:-https://app.lago.dev}
- LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4}
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
- LAGO_REDIS_CACHE_URL=redis://redis:6379
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH:-}
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_PDFS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- 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
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY:-}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-clock-worker:
image: api_dev
container_name: lago_api_clock_worker_dev
depends_on:
- api
restart: unless-stopped
command: bash -c "bundle install && ./scripts/start.clock.worker.sh"
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
volumes:
- $LAGO_PATH/api:/app:delegated
environment:
- LAGO_API_URL=https://api.lago.dev
- DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@db:5432/${POSTGRES_DB:-lago}
- REDIS_URL=redis://redis:6379
- SECRET_KEY_BASE=${SECRET_KEY_BASE:-your-secret-key-base-hex-64}
- LAGO_ENCRYPTION_PRIMARY_KEY=${ENCRYPTION_PRIMARY_KEY:-your-encrpytion-primary-key}
- LAGO_ENCRYPTION_DETERMINISTIC_KEY=${ENCRYPTION_DETERMINISTIC_KEY:-your-encrpytion-deterministic-key}
- LAGO_ENCRYPTION_KEY_DERIVATION_SALT=${ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt}
- LAGO_USE_AWS_S3=${LAGO_USE_AWS_S3:-false}
- LAGO_FRONT_URL=${LAGO_FRONT_URL:-https://app.lago.dev}
- LAGO_PARALLEL_THREADS_COUNT=${LAGO_PARALLEL_THREADS_COUNT:-4}
- LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000}
- LAGO_REDIS_CACHE_URL=redis://redis:6379
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH:-}
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_PDFS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- 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
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY:-}
- LAGO_LICENSE=${LAGO_LICENSE:-}

api-webhook-worker:
image: api_dev
container_name: lago_api_webhook_worker_dev
depends_on:
- api
restart: unless-stopped
command: bash -c "bundle install && ./scripts/start.webhook.worker.sh"
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
@@ -242,6 +376,9 @@ services:
- LAGO_DISABLE_WALLET_REFRESH=${LAGO_DISABLE_WALLET_REFRESH:-}
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
- SIDEKIQ_PDFS=true
- SIDEKIQ_BILLING=true
- SIDEKIQ_CLOCK=true
- SIDEKIQ_WEBHOOK=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_CLICKHOUSE_MIGRATIONS_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
@@ -255,7 +392,7 @@ services:
image: api_dev
container_name: lago_api_clock_dev
restart: unless-stopped
command: ["./scripts/start.clock.dev.sh"]
command: bash -c "bundle install && ./scripts/start.clock.sh"
depends_on:
- api
build:
@@ -282,6 +419,7 @@ services:
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY:-}
- LAGO_LICENSE=${LAGO_LICENSE:-}
- SIDEKIQ_CLOCK=true

pdf:
image: getlago/lago-gotenberg:7
@@ -382,7 +520,7 @@ services:
image: api_dev
depends_on:
- db
command: ["./scripts/start.migrate.dev.sh"]
command: ["./scripts/migrate.dev.sh"]
build:
context: ./api
dockerfile: $LAGO_PATH/api/Dockerfile.dev
Loading