restic_rest_server¶
Configure and deploy restic REST server
Builds restic-rest-server from nixpkgs and creates an s6 service with htpasswd authentication.
Variables¶
| Variable | Type | Default | Description |
|---|---|---|---|
restic_rest_server_data_dir |
path | Data directory for restic repositories | |
restic_rest_server_enabled |
boolean | false | Enable the restic REST server service |
restic_rest_server_group |
string | System group for the restic REST server | |
restic_rest_server_htpasswd_users |
list | List of users with name and password for htpasswd authentication. See defaults/main.yml#L7-L8 for an example. |
|
restic_rest_server_port |
string | 3003 | TCP port for the restic REST server |
restic_rest_server_user |
string | restic_rest_server | System user for the restic REST server |