diff --git a/api b/api index eab2aab..b4cd672 160000 --- a/api +++ b/api @@ -1 +1 @@ -Subproject commit eab2aabd60ff5ef1fe263e41ed2035ae2497e93d +Subproject commit b4cd672d84089a715aa4892dc1c5175851a13f15 diff --git a/docker-compose.yml b/docker-compose.yml index c8e1aa1..4b1c833 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,12 +32,12 @@ services: api: container_name: lago-api - image: getlago/api:v1.12.0 + image: getlago/api:v1.12.1 restart: unless-stopped depends_on: - db - redis - command: ["./scripts/start.sh"] + command: ['./scripts/start.sh'] healthcheck: test: curl -f http://localhost:3000/health || exit 1 interval: 10s @@ -91,7 +91,7 @@ services: front: container_name: lago-front - image: getlago/front:v1.12.0 + image: getlago/front:v1.12.1 restart: unless-stopped # Use this command if you want to use SSL with Let's Encrypt # command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'" @@ -130,14 +130,14 @@ services: api-worker: container_name: lago-worker - image: getlago/api:v1.12.0 + image: getlago/api:v1.12.1 restart: unless-stopped depends_on: api: condition: service_healthy - command: ["./scripts/start.worker.sh"] + command: ['./scripts/start.worker.sh'] healthcheck: - test: ["CMD-SHELL", "bundle exec sidekiqmon | grep $(hostname) || exit 1"] + test: ['CMD-SHELL', 'bundle exec sidekiqmon | grep $(hostname) || exit 1'] environment: - LAGO_API_URL=${LAGO_API_URL:-http://localhost:3000} - DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@${POSTGRES_HOST:-db}:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-lago}?search_path=${POSTGRES_SCHEMA:-public} @@ -178,7 +178,7 @@ services: # It is recommendend if you have a high usage of events to not impact the other Sidekiq Jobs. #api-events-worker: # container_name: lago-events-worker - # image: getlago/api:v1.12.0 + # image: getlago/api:v1.12.1 # restart: unless-stopped # depends_on: # api: @@ -221,7 +221,7 @@ services: # It is recommended if you have a high usage of invoices being created to not impact the other Sidekiq Jobs. #api-pdfs-worker: # container_name: lago-pdfs-worker - # image: getlago/api:v1.12.0 + # image: getlago/api:v1.12.1 # restart: unless-stopped # depends_on: # api: @@ -262,12 +262,12 @@ services: api-clock: container_name: lago-clock - image: getlago/api:v1.12.0 + image: getlago/api:v1.12.1 restart: unless-stopped depends_on: api: condition: service_healthy - command: ["./scripts/start.clock.sh"] + command: ['./scripts/start.clock.sh'] environment: - LAGO_API_URL=${LAGO_API_URL:-http://localhost:3000} - DATABASE_URL=postgresql://${POSTGRES_USER:-lago}:${POSTGRES_PASSWORD:-changeme}@${POSTGRES_HOST:-db}:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-lago}?search_path=${POSTGRES_SCHEMA:-public} @@ -292,11 +292,11 @@ services: migrate: container_name: lago-migrate - image: getlago/api:v1.12.0 + image: getlago/api:v1.12.1 depends_on: - db - redis - command: ["./scripts/start.migrate.sh"] + command: ['./scripts/start.migrate.sh'] volumes: - lago_storage_data:/app/storage environment: