feat: rest-server
This commit is contained in:
parent
a2823dca48
commit
6b3077e8a5
@ -1,12 +1,12 @@
|
|||||||
# rest-server
|
# rest-server
|
||||||
|
|
||||||
> One line description of the recipe
|
> Restic server
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 0
|
* **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
|
* **Healthcheck**: No
|
||||||
* **Backups**: No
|
* **Backups**: No
|
||||||
* **Email**: No
|
* **Email**: No
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
* `abra app new rest-server --secrets`
|
* `abra app new rest-server`
|
||||||
* `abra app config <app-name>`
|
* `abra app config <app-name>`
|
||||||
* `abra app deploy <app-name>`
|
* `abra app deploy <app-name>`
|
||||||
|
|
||||||
|
@ -3,15 +3,20 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: nginx:1.20.0
|
image: restic/rest-server:0.13.0
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
environment:
|
||||||
|
- DATA_DIRECTORY
|
||||||
|
- PASSWORD_FILE
|
||||||
|
- OPTIONS
|
||||||
|
- DISABLE_AUTHENTICATION
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "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}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user