diff --git a/.env.sample b/.env.sample new file mode 100644 index 0000000..d5b519c --- /dev/null +++ b/.env.sample @@ -0,0 +1,10 @@ +TYPE=babybuddy + +DOMAIN={{ .Domain }} + +## Domain aliases +#EXTRA_DOMAINS=', `www.babybuddy.example.com`' + +LETS_ENCRYPT_ENV=production + +BABYBUDDY_TZ="UTC" diff --git a/README.md b/README.md index 17fbc6b..4e0e18c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ -# babybuddy +# Baby Buddy -A buddy for babies! Helps caregivers track sleep, feedings, diaper changes, tummy time and more to learn about and predict baby's needs without (as much) guess work. \ No newline at end of file +> A buddy for babies! Helps caregivers track sleep, feedings, diaper changes, tummy time and more to learn about and predict baby's needs without (as much) guess work. + + + +* **Category**: Apps +* **Status**: 1, alpha +* **Image**: [`babybuddy`](https://github.com/linuxserver/docker-babybuddy), 4, upstream +* **Healthcheck**: No +* **Backups**: No +* **Email**: No +* **Tests**: No +* **SSO**: No + + + +## Quick start + +* `abra app new babybuddy` +* `abra app config ` +* `abra app deploy ` + +For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). + +## Usage + +Navigate to the app domain and login with the default user/pass of admin:admin diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..f7aa157 --- /dev/null +++ b/compose.yml @@ -0,0 +1,35 @@ +--- +version: "3.8" + +services: + app: + image: ghcr.io/linuxserver/babybuddy:v1.11.0-ls40 + networks: + - proxy + environment: + - PUID=1000 + - PGID=1000 + - TZ=$BABYBUDDY_TZ + volumes: + - config:/config + deploy: + restart_policy: + condition: on-failure + labels: + - "traefik.enable=true" + - "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}" + ## Redirect from EXTRA_DOMAINS to DOMAIN + #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" + #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" + #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" + - "coop-cloud.${STACK_NAME}.version=1.0.0+v1.11.0-ls40" + +networks: + proxy: + external: true + +volumes: + config: