docker-duplicity-cron/tests/docker-compose-test-s3.yml
ViViDboarder 77d320eeee Yay! Switch to eoan and simplify install
This also enables functioning multi-arch and s3 tests
2020-02-12 17:44:38 -08:00

29 lines
717 B
YAML

---
version: '2'
services:
duplicity:
image: "$DOCKER_IMAGE"
entrypoint: "bash"
command: ["/test.sh"]
hostname: itest
environment:
IN_CONTAINER: 'true'
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
SLEEP: 2
volumes:
- "./test.sh:/test.sh"
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