Compare commits

...
Author SHA1 Message Date
notplants bbc1270356 upgrade to 0.4.0+v0.12.0 2026-02-18 12:03:26 +00:00
notplants ccac11e01c bump to 0.3.0+v0.11.1 2026-02-18 11:47:40 +00:00
2 changed files with 11 additions and 10 deletions
+10 -10
View File
@@ -87,14 +87,14 @@ services:
app: app:
user: "${DOCKER_USER:-1000}" user: "${DOCKER_USER:-1000}"
image: lasuite/drive-frontend:v0.11.1 image: lasuite/drive-frontend:v0.12.0
networks: networks:
- backend - backend
deploy: deploy:
labels: labels:
- "traefik.enable=false" - "traefik.enable=false"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.2.6+v0.11.1" - "coop-cloud.${STACK_NAME}.version=0.4.0+v0.12.0"
environment: environment:
<<: [ *common-env ] <<: [ *common-env ]
healthcheck: healthcheck:
@@ -108,7 +108,7 @@ services:
backend: backend:
user: ${DOCKER_USER:-1000} user: ${DOCKER_USER:-1000}
image: lasuite/drive-backend:v0.11.1 image: lasuite/drive-backend:v0.12.0
command: [ "gunicorn", "-c", "/usr/local/etc/gunicorn/drive.py", "drive.wsgi:application" ] command: [ "gunicorn", "-c", "/usr/local/etc/gunicorn/drive.py", "drive.wsgi:application" ]
entrypoint: [ "/abra-entrypoint.sh", "/usr/local/bin/entrypoint" ] entrypoint: [ "/abra-entrypoint.sh", "/usr/local/bin/entrypoint" ]
environment: environment:
@@ -133,7 +133,7 @@ services:
# this may be unecessary once the PR is merged to use celery beat # this may be unecessary once the PR is merged to use celery beat
# but this is a workaround for now https://github.com/suitenumerique/drive/issues/484 # but this is a workaround for now https://github.com/suitenumerique/drive/issues/484
scheduler: scheduler:
image: lasuite/drive-backend:v0.11.1 image: lasuite/drive-backend:v0.12.0
user: ${DOCKER_USER:-1000} user: ${DOCKER_USER:-1000}
networks: networks:
- backend - backend
@@ -160,7 +160,7 @@ services:
celery: celery:
user: ${DOCKER_USER:-1000} user: ${DOCKER_USER:-1000}
image: lasuite/drive-backend:v0.11.1 image: lasuite/drive-backend:v0.12.0
networks: networks:
- backend - backend
command: [ "celery", "-A", "drive.celery_app", "worker", "-l", "INFO" ] command: [ "celery", "-A", "drive.celery_app", "worker", "-l", "INFO" ]
@@ -180,17 +180,17 @@ services:
- email_pass - email_pass
db: db:
image: postgres:16 image: pgautoupgrade/pgautoupgrade:18-debian
networks: networks:
- backend - backend
healthcheck: healthcheck:
test: ["CMD", "pg_isready", "-q", "-U", "docs", "-d", "docs"] test: ["CMD", "pg_isready", "-q", "-U", "drive", "-d", "drive"]
interval: 1s interval: 1s
timeout: 2s timeout: 2s
retries: 300 retries: 300
environment: environment:
<<: *postgres-env <<: *postgres-env
PGDATA: var/lib/postgresql/data/pgdata PGDATA: /var/lib/postgresql/data/pgdata
volumes: volumes:
- postgres:/var/lib/postgresql/data/pgdata - postgres:/var/lib/postgresql/data/pgdata
deploy: deploy:
@@ -207,7 +207,7 @@ services:
- postgres_p - postgres_p
redis: redis:
image: redis:5 image: redis:8
networks: networks:
- backend - backend
@@ -350,7 +350,7 @@ services:
web: web:
image: nginx:1.25 image: nginx:1.29
configs: configs:
- source: nginx_conf - source: nginx_conf
target: /etc/nginx/conf.d/default.conf target: /etc/nginx/conf.d/default.conf
+1
View File
@@ -0,0 +1 @@
Switched the database image from postgres:16 to pgautoupgrade/pgautoupgrade:18-debian. This enables automatic PostgreSQL major version upgrades. No action required from the operator — the upgrade from PostgreSQL 16 to 18 is handled automatically by the pgautoupgrade image on first start.