1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-05-17 05:14:37 +00:00
docker-volume-s3-backup/docker-compose.yaml

26 lines
557 B
YAML
Raw Permalink Normal View History

# This file is here to facilitate development/testing.
# See the readme for a list of configuration options.
# Copy the .env.example and add in your S3 credentials.
# $ docker compose up -d --build --force-recreate
services:
2025-05-04 13:54:42 +02:00
test_image:
build: ./test_image
volumes:
- data:/data
backup:
build: .
env_file: .env
2025-05-04 13:54:42 +02:00
volumes:
- data:/data/testdir
environment:
2025-05-04 13:54:42 +02:00
BACKUP_NAME: backup-test
SCHEDULE: '* * * * *'
BACKUP_KEEP_DAYS: 7
PASSPHRASE: passphrase
S3_PREFIX: backup-test
2025-05-04 13:54:42 +02:00
volumes:
data: