initial version

This commit is contained in:
Peter Leurs 2025-08-15 23:15:24 +02:00
commit e12a2371f1
6 changed files with 761 additions and 0 deletions

45
appinfo.yml Normal file
View file

@ -0,0 +1,45 @@
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