1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

update ghost

This commit is contained in:
kev 2022-02-11 15:57:55 +08:00
parent cdd418a79a
commit 91e43a9a0a
2 changed files with 9 additions and 4 deletions

View File

@ -12,7 +12,6 @@ services:
ghost:
image: ghost:alpine
container_name: ghost
ports:
- "2368:2368"
volumes:
@ -25,10 +24,14 @@ services:
backup:
image: offen/docker-volume-backup
container_name: backup
environment:
# AWS_BUCKET_NAME=backups
# AWS_S3_PATH=ghost
# AWS_ACCESS_KEY_ID=******
# AWS_SECRET_ACCESS_KEY=******
- BACKUP_FILENAME=backup-ghost-%Y-%m-%dT%H-%M-%S.tar.gz
- BACKUP_PRUNING_PREFIX=backup-ghost-
- BACKUP_LATEST_SYMLINK=backup-ghost-latest.tar.gz
- BACKUP_RETENTION_DAYS=30
volumes:
- ./data:/backup/ghost:ro

View File

@ -4,7 +4,6 @@ services:
ghost:
image: ghost:alpine
container_name: ghost
ports:
- "2368:2368"
volumes:
@ -17,8 +16,11 @@ services:
backup:
image: offen/docker-volume-backup
container_name: backup
environment:
# AWS_BUCKET_NAME=backups
# AWS_S3_PATH=ghost
# AWS_ACCESS_KEY_ID=******
# AWS_SECRET_ACCESS_KEY=******
- BACKUP_FILENAME=backup-ghost-%Y-%m-%dT%H-%M-%S.tar.gz
- BACKUP_PRUNING_PREFIX=backup-ghost-
- BACKUP_LATEST_SYMLINK=backup-ghost-latest.tar.gz