backups and refactor
This commit is contained in:
parent
f66961bda3
commit
c9c64c0166
10 changed files with 51 additions and 75 deletions
|
@ -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
|
Reference in a new issue