Compare commits

...

3 Commits

Author SHA1 Message Date
f4381dc8a3 Update to 0.2.6+v4.5.0
- Upgrade app images to v4.5.0
- Switch from postgres:16 to pgautoupgrade/pgautoupgrade:18-debian for automatic major version upgrades
- Fix PGDATA relative path (add leading /)
- Fix pg_backup.sh restore path to match PGDATA
2026-02-16 14:45:12 -05:00
de32805e71 switch to pgautoupgrade 2026-02-16 13:45:39 -05:00
dc7c769011 Merge pull request 'Update version to 0.2.5+v4.4.0' (#11) from new-version into main
Reviewed-on: https://git.coopcloud.tech/coop-cloud/lasuite-docs/pulls/11
2026-01-27 00:04:19 +00:00
3 changed files with 12 additions and 8 deletions

View File

@ -84,14 +84,14 @@ x-minio-env: &minio-env
services: services:
app: app:
image: lasuite/impress-frontend:v4.4.0 image: lasuite/impress-frontend:v4.5.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.5+v4.4.0" - "coop-cloud.${STACK_NAME}.version=0.2.6+v4.5.0"
user: "${DOCKER_USER:-1000}" user: "${DOCKER_USER:-1000}"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"] test: ["CMD", "curl", "-f", "http://localhost:8080"]
@ -101,7 +101,7 @@ services:
start_period: 10s start_period: 10s
backend: backend:
image: lasuite/impress-backend:v4.4.0 image: lasuite/impress-backend:v4.5.0
networks: networks:
- backend - backend
environment: environment:
@ -131,7 +131,7 @@ services:
- email_pass - email_pass
celery: celery:
image: lasuite/impress-backend:v4.4.0 image: lasuite/impress-backend:v4.5.0
networks: networks:
- backend - backend
user: "${DOCKER_USER:-1000}" user: "${DOCKER_USER:-1000}"
@ -155,7 +155,7 @@ services:
y-provider: y-provider:
image: lasuite/impress-y-provider:v4.4.0 image: lasuite/impress-y-provider:v4.5.0
networks: networks:
- backend - backend
environment: *yprovider-env environment: *yprovider-env
@ -168,7 +168,7 @@ services:
- y_api_key - y_api_key
db: db:
image: postgres:16 image: pgautoupgrade/pgautoupgrade:18-debian
networks: networks:
- backend - backend
healthcheck: healthcheck:
@ -178,7 +178,7 @@ services:
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:

View File

@ -10,7 +10,7 @@ function backup {
} }
function restore { function restore {
cd /var/lib/postgresql/data/ cd /var/lib/postgresql/data/pgdata/
restore_config(){ restore_config(){
# Restore allowed connections # Restore allowed connections
cat pg_hba.conf.bak > pg_hba.conf cat pg_hba.conf.bak > pg_hba.conf

4
release/0.2.6+v4.5.0 Normal file
View File

@ -0,0 +1,4 @@
upgraded to v4.5.0, and also switched from postgres:16 to pgautoupgrade/pgautoupgrade:18-bookworm
for automatic major version upgrades
no actions by operator should be necessary