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

volumes:
  backup_cache:

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

      - git_data:/data/git
      - paste_data:/data/paste
      - znc_data:/data/znc