pin docker container versions

This commit is contained in:
Philip Henning 2025-02-04 18:50:08 +01:00
parent 1602b7b771
commit af021924fa
4 changed files with 21 additions and 14 deletions

View file

@ -12,7 +12,7 @@ services:
GEOIPUPDATE_LICENSE_KEY: "${GEOIPUPDATE_LICENSE_KEY:?MaxMind GeoIP license key required}"
postgresql:
image: docker.io/library/postgres:16-alpine
image: docker.io/library/postgres:${POSTGRES_TAG:-16.6-alpine}
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
@ -33,7 +33,7 @@ services:
- backend
redis:
image: docker.io/library/redis:alpine
image: docker.io/library/redis:${REDIS_TAG:-7.4.2-alpine}
command: --save 60 1 --loglevel warning
restart: unless-stopped
healthcheck:
@ -116,7 +116,7 @@ services:
- backend
backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
image: registry.git.base23.de/base23/backup/resticker:${RESTICKER_TAG:-0.17.0}
restart: unless-stopped
environment:
PRE_COMMANDS: |-
@ -149,7 +149,7 @@ services:
- ./data/.lego:/var/lib/lego/backups:ro
prune-backup:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
image: registry.git.base23.de/base23/backup/resticker:${RESTICKER_TAG:-0.17.0}
restart: unless-stopped
environment:
SKIP_INIT: "true"
@ -162,7 +162,7 @@ services:
- ./data/restic/ssh/:/run/secrets/.ssh:ro
restore-cli:
image: registry.git.base23.de/base23/backup/resticker:0.17.0
image: registry.git.base23.de/base23/backup/resticker:${RESTICKER_TAG:-0.17.0}
entrypoint: /entrypoint-restore
environment:
RESTIC_REPOSITORY: sftp://${RESTIC_REPO_USER:?Restic repository user is required}@${RESTIC_REPO_ADDRESS:?Restic repository address is requried}:${RESTIC_REPO_PORT:?Restic repository port is required}//backup