docker-duplicity-cron/tests/docker-compose-test-s3.yml

31 lines
757 B
YAML
Raw Normal View History

version: '2'
services:
duplicity:
build:
2018-05-13 17:31:31 +00:00
context: ..
2019-08-06 01:07:53 +00:00
dockerfile: ${DOCKERFILE}
entrypoint: "bash"
2018-05-13 17:31:31 +00:00
command: ["/test.sh"]
hostname: itest
environment:
2018-05-13 17:31:31 +00:00
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
volumes:
2018-05-13 17:31:31 +00:00
- "./test.sh:/test.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