restic-server/appinfo.yml
2025-08-15 23:15:24 +02:00

45 lines
1 KiB
YAML

mainunit: restic-server.service
mainunitfile: restic-server.service.j2
ports:
- restic
templatefiles:
- src: compose.yml.j2
dest: ~/compose.yml
- src: usermgmt.j2
dest: ~/usermgmt
setupcommand: "/bin/bash ~/usermgmt"
exports:
web:
sites:
- proxyaddress: "http://127.0.0.1:{{ ports.restic }}"
publicname: "{{ config.domainname }}"
backuptype: none
configdefinition:
description: Restic user configuration
type: object
additionalProperties: false
properties:
domainname:
type: string
description: The url that is used for the site
accounts:
type: array
description: Accounts for backups.
minItems: 1
items:
type: object
additionalProperties: false
description: one user
properties:
username:
type: string
password:
type: string
required:
- username
- password
required:
- accounts
- domainname
const:
image: docker.io/restic/rest-server