Commit 2c49555f authored by Ozoux's avatar Ozoux

Update compose to v2

parent 2625a7e3
backup:
image: indiehosters/borg
hostname: ${HOSTNAME}
environment:
- BORG_MODE=CLIENT
- BACKUP_FREQUENCY=3600
- BORG_FOLDER
- BORG_PASSPHRASE
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/domains:/domains
- ./ssh/:/root/.ssh/
- ./cache:/root/.cache
version: '2'
networks:
back:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.1.2.0/30
services:
backup:
image: indiehosters/borg
hostname: ${HOSTNAME}
environment:
- BORG_MODE=CLIENT
- BACKUP_FREQUENCY=3600
- BORG_FOLDER
- BORG_PASSPHRASE
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/domains:/domains
- ./ssh/:/root/.ssh/
- ./cache:/root/.cache
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment