diff --git a/.env.sample b/.env.sample index 6dd420a..7f68637 100644 --- a/.env.sample +++ b/.env.sample @@ -1,4 +1,7 @@ TYPE=gancio +ENABLE_BACKUPS=true DOMAIN=gancio.example.com +## Domain aliases +#EXTRA_DOMAINS=', `www.gancio.example.com`' LETS_ENCRYPT_ENV=production diff --git a/README.md b/README.md index e69c7a3..e504ae6 100644 --- a/README.md +++ b/README.md @@ -20,5 +20,8 @@ * `abra app new gancio` * `abra app config ` * `abra app deploy ` +* navigate to the app at `https://` and fill out the configuration setup. Then click `Next` at the bottom. At this point, the page should display a default username `admin` and password `` while constantly refreshing and failing. Save the contents of `` +* `abra app restart app` +* you should be able to login at `https://`! For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). diff --git a/compose.yml b/compose.yml index ea62987..a32b462 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: app: - image: cisti/gancio:1.25.1 + image: cisti/gancio:1.28.2 networks: - proxy environment: @@ -16,10 +16,14 @@ services: deploy: restart_policy: condition: on-failure + max_attempts: 10 labels: + - "backupbot.backup=${ENABLE_BACKUPS:-true}" + - "backupbot.backup.path=/data" - "traefik.enable=true" + - "traefik.docker.network=proxy" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=13120" - - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)" + - "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}" - "coop-cloud.${STACK_NAME}.version=0.1.0+1.25.1"