diff --git a/README.md b/README.md index 3a63dcb..4d3290b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # rest-server -> One line description of the recipe +> Restic server * **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 ` * `abra app deploy ` diff --git a/compose.yml b/compose.yml index a2c3805..a6f4c52 100644 --- a/compose.yml +++ b/compose.yml @@ -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}"