backups and refactor

This commit is contained in:
Didier Slof 2022-12-31 16:38:33 +01:00
parent f66961bda3
commit c9c64c0166
Signed by: didier
GPG key ID: 01E71F18AA4398E5
10 changed files with 51 additions and 75 deletions

View file

@ -45,4 +45,18 @@ services:
- 21027:21027/udp
restart: unless-stopped
networks:
- proxy
- proxy
backups:
build:
context: ./repos/backups
dockerfile: Containerfile
user: backups
environment:
- PYTHONUNBUFFERED=1
- IMMEDIATE=1
volumes:
- /docker/files/backups:/config:ro # an exception to keep stuff up to date.
- /srv:/services:ro
- /srv/backups/data:/local:rw
- /mnt/backups/neo:/remote:rw