mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-14 07:06:30 +00:00
9e9f9ec956
Should simulate an S3 test
30 lines
744 B
YAML
30 lines
744 B
YAML
version: '2'
|
|
services:
|
|
duplicity:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.${DOCKER_BASE}
|
|
entrypoint: "bash"
|
|
command: ["/itest.sh"]
|
|
hostname: itest
|
|
environment:
|
|
SKIP_ON_START: 'true'
|
|
OPT_ARGUMENTS: '--s3-unencrypted-connection'
|
|
BACKUP_DEST: s3://minio:9000/duplicity
|
|
AWS_DEFAULT_REGION: us-east-1
|
|
AWS_ACCESS_KEY_ID: SUPER_SECRET_ACCESS_KEY
|
|
AWS_SECRET_ACCESS_KEY: SUPER_SECRET_SECRET_KEY
|
|
volumes:
|
|
- "./itest.sh:/itest.sh"
|
|
links:
|
|
- minio
|
|
minio:
|
|
image: minio/minio
|
|
command: server /data
|
|
hostname: minio
|
|
expose:
|
|
- "9000"
|
|
environment:
|
|
MINIO_ACCESS_KEY: SUPER_SECRET_ACCESS_KEY
|
|
MINIO_SECRET_KEY: SUPER_SECRET_SECRET_KEY
|