diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index f1ef0d6..03f659f 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -98,6 +98,8 @@ services: - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET} - 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:-true} labels: - "traefik.enable=true" - "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)" diff --git a/docker-compose.yml b/docker-compose.yml index 84ce65c..0202616 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,6 +56,7 @@ services: - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-bucket} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379} + - LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT} ports: - ${API_PORT:-3000}:3000 @@ -98,6 +99,7 @@ services: - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-bucket} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379} + - LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT} api-clock: container_name: lago-clock