Compare commits

...

9 Commits

5 changed files with 28 additions and 8 deletions
+1 -1
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
+6 -1
View File
@@ -12,6 +12,11 @@ COMPOSE_FILE="compose.yml"
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
@@ -22,5 +27,5 @@ LETS_ENCRYPT_ENV=production
#
SECRET_SECRET_KEY_VERSION=v1
SECRET_BASEROW_JWT_SIGNING_KEY_VERSION=v1
SECRET_JWT_KEY_VERSION=v1
+6
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).
+8 -6
View File
@@ -3,18 +3,18 @@ version: "3.8"
services:
app:
image: baserow/baserow:1.31.1
image: baserow/baserow:1.35.3
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
@@ -28,7 +28,9 @@ services:
#- "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.7.0+1.31.1"
- "backupbot.backup=true"
- "backupbot.backup.path=/baserow/data"
- "coop-cloud.${STACK_NAME}.version=1.2.0+1.35.3"
healthcheck:
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
interval: 30s
@@ -50,6 +52,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
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>