7 Commits

Author SHA1 Message Date
d6f980ef48 add low resources config options 2025-07-17 13:38:12 -04:00
a8ae828568 chore: publish 1.0.0+1.31.1 release 2025-05-08 23:31:55 -04:00
0b930dd81d Merge pull request 'shorter jwt secret name' (#3) from shorter-secret into main
Reviewed-on: #3
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
2025-05-09 03:28:29 +00:00
ccba29e3e4 shorter jwt secret name 2025-05-07 13:34:24 -04:00
3wc
53ae1dc377 Fix tag build URL
Some checks failed
continuous-integration/drone/push Build is failing
2025-03-05 12:16:15 -05:00
3wc
9d28e3695a chore: publish 0.7.0+1.31.1 release
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2025-03-05 12:12:48 -05:00
7fd09f34a5 wip: wildcard domain
Some checks failed
continuous-integration/drone/push Build is failing
2025-01-30 11:31:03 +01:00
5 changed files with 31 additions and 9 deletions

View File

@ -32,7 +32,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -7,8 +7,16 @@ COMPOSE_FILE="compose.yml"
## Domain aliases
#EXTRA_DOMAINS=', `www.baserow.example.com`'
## Automatically use subdomains under following domain (anything.example.com)
#WILDCARD_DOMAIN='example.com'
LETS_ENCRYPT_ENV=production
## For low-resource machines (<2GB ram)
# BASEROW_AMOUNT_OF_GUNICORN_WORKERS=1
# BASEROW_AMOUNT_OF_WORKERS=1
# BASEROW_RUN_MINIMAL=yes
# COMPOSE_FILE="$COMPOSE_FILE:compose.email.yml"
# FROM_EMAIL="No Reply <noreply@example.com>"
# EMAIL_SMTP_USE_TLS=true
@ -19,5 +27,5 @@ LETS_ENCRYPT_ENV=production
#
SECRET_SECRET_KEY_VERSION=v1
SECRET_BASEROW_JWT_SIGNING_KEY_VERSION=v1
SECRET_JWT_KEY_VERSION=v1

View File

@ -21,5 +21,11 @@
* `abra app config <app-name>`
* `abra app deploy <app-name>`
## Resources
* Baserow requires over 2GB RAM to run on Co-op Cloud with default settings
* For environments with 2GB or less RAM, run `abra app config <app-name>` and uncomment the `For low-resource machines` config block
* More info: https://hub.docker.com/r/baserow/baserow/#scaling-options
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).

View File

@ -3,31 +3,32 @@ version: "3.8"
services:
app:
image: baserow/baserow:1.30.1
image: baserow/baserow:1.31.1
networks:
- proxy
environment:
- BASEROW_PUBLIC_URL=https://${DOMAIN}
- SECRET_KEY_FILE=/run/secrets/secret_key
- BASEROW_JWT_SIGNING_KEY_FILE=/run/secrets/baserow_jwt_signing_key
- BASEROW_JWT_SIGNING_KEY_FILE=/run/secrets/jwt_key
- BASEROW_CADDY_ADDRESSES=:80
- BASEROW_BUILDER_DOMAINS=${WILDCARD_DOMAIN}
secrets:
- secret_key
- baserow_jwt_signing_key
- jwt_key
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS}) || HostRegexp(`{subdomain:\\w+}.${WILDCARD_DOMAIN}`)"
- "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=0.6.0+1.30.1"
- "coop-cloud.${STACK_NAME}.version=1.0.0+1.31.1"
healthcheck:
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
interval: 30s
@ -49,6 +50,6 @@ secrets:
secret_key:
external: true
name: ${STACK_NAME}_secret_key_${SECRET_SECRET_KEY_VERSION}
baserow_jwt_signing_key:
jwt_key:
external: true
name: ${STACK_NAME}_baserow_jwt_signing_key_${SECRET_BASEROW_JWT_SIGNING_KEY_VERSION}
name: ${STACK_NAME}_jwt_key_${SECRET_JWT_KEY_VERSION}

7
release/1.0.0+1.31.1 Normal file
View File

@ -0,0 +1,7 @@
This upgrade changes the name of the jwt signing key secret from baserow_jwt_signing_key to jwt_key
EXISTING DEPLOYMENTS MUST COPY THIS SECRET TO THE NEW LOCATION:
# Retrieve the current jwt key value:
docker exec <your_baserow_container_name> cat /run/secrets/baserow_jwt_signing_key
# Create the new secret
abra app secret insert <your_baserow_domain> jwt_key v1 <value returned by previous command>