summaryrefslogtreecommitdiff
path: root/services/backup.yml
blob: a3b2218246c389a5404767eb7c1c8fd5cc139dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3'

services:
  backup:
    env_file:
      - $IMAGES/backup/config.env
    build: $IMAGES/backup/duplicity
    command: /bin/sh /backup.sh
    hostname: backup
    restart: "no"
    volumes:
      - cache:/cache
      - $IMAGES/backup/gpg_keys:/gpg_keys:ro

      - git_data:/data/git

volumes:
  cache:

    #  server_git_data:
    #external: true