initial version
This commit is contained in:
commit
e12a2371f1
6 changed files with 761 additions and 0 deletions
21
compose.yml.j2
Normal file
21
compose.yml.j2
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
version: '3'
|
||||
|
||||
networks:
|
||||
restic-server:
|
||||
external: false
|
||||
|
||||
services:
|
||||
resticserver:
|
||||
image: {{ const.image }}
|
||||
container_name: restic-server
|
||||
environment:
|
||||
- PASSWORD_FILE=/userfiles/users
|
||||
- OPTIONS=--private-repos
|
||||
restart: always
|
||||
volumes:
|
||||
- ~/backupdata:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ~/userfiles:/userfiles
|
||||
ports:
|
||||
- '127.0.0.1:{{ ports.restic }}:8000'
|
||||
Loading…
Add table
Add a link
Reference in a new issue