Compare commits

..

1 Commits

Author SHA1 Message Date
0cd5a3144d chore(deps): update ghost docker tag to v6.42.0 2026-05-28 00:08:33 +00:00
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
services: services:
app: app:
image: ghost:6.45.0-alpine image: ghost:6.42.0-alpine
environment: environment:
# see https://ghost.org/docs/config/#configuration-options # see https://ghost.org/docs/config/#configuration-options
database__client: mysql database__client: mysql
@ -51,16 +51,16 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true" - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
- "backupbot.backup=true" - "backupbot.backup=true"
- "backupbot.backup.path=/var/lib/ghost/content" - "backupbot.backup.path=/var/lib/ghost/content"
- "coop-cloud.${STACK_NAME}.version=1.4.0+6.45.0-alpine" - "coop-cloud.${STACK_NAME}.version=1.2.0+6.21.2-alpine"
healthcheck: healthcheck:
test: ["CMD", "wget", "--header=X-Forwarded-Proto: https", "--spider", "-q", "http://localhost:2368/ghost/api/admin/site"] test: ["CMD", "wget", "--header=X-Forwarded-Proto: https", "--spider", "-q", "http://localhost:2368/ghost/api/admin/site"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 10 retries: 10
start_period: 15m start_period: 1m
db: db:
image: mysql:8.4 image: mysql:8.0
networks: networks:
- backend - backend
environment: environment:
@ -72,9 +72,9 @@ services:
deploy: deploy:
labels: labels:
- "backupbot.backup=true" - "backupbot.backup=true"
- 'backupbot.backup.pre-hook=mysqldump -u root -p"$$(cat /run/secrets/db_password)" --single-transaction --routines --triggers --databases ghost | gzip > /var/lib/mysql/backup.sql.gz' - "backupbot.backup.pre-hook=mysqldump -u root -p\"$$(cat /run/secrets/db_password)\" ghost --tab /var/lib/mysql-files/"
- "backupbot.backup.volumes.mysql.path=backup.sql.gz" - "backupbot.backup.post-hook=rm -rf /var/lib/mysql-files/*"
- 'backupbot.restore.post-hook=gunzip -c /var/lib/mysql/backup.sql.gz | mysql -u root -p"$$(cat /run/secrets/db_password)"' - "backupbot.backup.path=/var/lib/mysql-files/"
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p\"$$(cat /run/secrets/db_password)\""] test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p\"$$(cat /run/secrets/db_password)\""]