feat(docker-compose): adding lago version inside a variable inside .env

This commit is contained in:
Jean-Baptiste DONNETTE 2024-10-17 11:49:15 +02:00
parent f279fb579b
commit af95c18d63
3 changed files with 8 additions and 7 deletions

View File

@ -78,7 +78,7 @@ services:
api:
container_name: lago-api
image: getlago/api:v1.13.1
image: getlago/api:${LAGO_VERSION}
restart: unless-stopped
depends_on:
db:
@ -109,7 +109,7 @@ services:
front:
container_name: lago-front
image: getlago/front:v1.13.1
image: getlago/front:${LAGO_VERSION}
restart: unless-stopped
depends_on:
api:
@ -168,7 +168,7 @@ services:
api-worker:
container_name: lago-worker
image: getlago/api:v1.13.1
image: getlago/api:${LAGO_VERSION}
restart: unless-stopped
depends_on:
api:
@ -187,7 +187,7 @@ services:
api-clock:
container_name: lago-clock
image: getlago/api:v1.13.1
image: getlago/api:${LAGO_VERSION}
restart: unless-stopped
depends_on:
api:
@ -204,7 +204,7 @@ services:
migrate:
container_name: lago-migrate
image: getlago/api:v1.13.1
image: getlago/api:${LAGO_VERSION}
depends_on:
db:
condition: service_healthy
@ -218,7 +218,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.13.1
# image: getlago/api:${LAGO_VERSION}
# restart: unless-stopped
# depends_on:
# api:
@ -261,7 +261,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.13.1
# image: getlago/api:${LAGO_VERSION}
# restart: unless-stopped
# depends_on:
# api:

1
env
View File

@ -1,5 +1,6 @@
#See more informations here : https://doc.getlago.com/guide/self-hosted/docker
LAGO_VERSION=v1.13.1
# PostgreSQL Configuration
POSTGRES_DB=lago