feat: rest-server

This commit is contained in:
f 2024-10-01 19:59:07 -03:00
parent a2823dca48
commit 6b3077e8a5
2 changed files with 10 additions and 5 deletions

View File

@ -1,12 +1,12 @@
# rest-server
> One line description of the recipe
> Restic server
<!-- metadata -->
* **Category**: Apps
* **Status**: 0
* **Image**: [`rest-server`](https://hub.docker.com/r/rest-server), 4, upstream
* **Image**: [`rest-server`](https://hub.docker.com/r/restic/rest-server), 4, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: No
@ -17,7 +17,7 @@
## Quick start
* `abra app new rest-server --secrets`
* `abra app new rest-server`
* `abra app config <app-name>`
* `abra app deploy <app-name>`

View File

@ -3,15 +3,20 @@ version: "3.8"
services:
app:
image: nginx:1.20.0
image: restic/rest-server:0.13.0
networks:
- proxy
environment:
- DATA_DIRECTORY
- PASSWORD_FILE
- OPTIONS
- DISABLE_AUTHENTICATION
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8000"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"