19 Commits

Author SHA1 Message Date
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
1cc375cf19 chore: publish 0.6.0+1.30.1 release
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is failing
2025-01-30 02:04:59 +01:00
0591e1bf1c chore: publish 0.5.0+1.29.0 release
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-11-13 12:43:21 -05:00
016e7b6848 chore: publish 0.4.0+1.28.0 release
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2024-10-15 17:30:35 -04:00
658be3c520 Update README.md
Some checks failed
continuous-integration/drone/push Build is failing
healthchecks yes
2024-10-14 15:01:41 +00:00
3287bfc479 chore: publish 0.3.1+1.25.2 release
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-10-14 10:59:03 -04:00
261493929e Fix healthcheck 2024-10-14 10:57:07 -04:00
736acbf014 fix: remove broken healthcheck
Some checks failed
continuous-integration/drone/push Build is failing
2024-08-29 17:18:08 +02:00
3wc
3564202372 chore: publish 0.3.0+1.25.2 release
Some checks failed
continuous-integration/drone/push Build is failing
2024-07-02 21:18:47 -04:00
3wc
15817b421d Update baserow image to 1.25.2 2024-07-02 21:16:23 -04:00
3wc
b1fd18de3f chore: publish 0.2.0+1.21.2 release
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-25 15:04:54 -03:00
63b2fda7d3 Fix extra compose woops
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-22 17:53:29 -07:00
da39891d71 Add secrets and email support
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-22 16:55:14 -07:00
e8486625df chore: publish 0.1.2+1.21.2 release
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-25 12:41:12 -08:00
8 changed files with 70 additions and 7 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

@ -2,7 +2,25 @@ TYPE=baserow
DOMAIN=baserow.example.com
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
# COMPOSE_FILE="$COMPOSE_FILE:compose.email.yml"
# FROM_EMAIL="No Reply <noreply@example.com>"
# EMAIL_SMTP_USE_TLS=true
# EMAIL_SMTP_HOST=mail.exampl.com
# EMAIL_SMTP_PORT=497
# EMAIL_SMTP_USER=noreply@example.com
# SECRET_EMAIL_SMTP_PASSWORD_VERSION=v1
#
SECRET_SECRET_KEY_VERSION=v1
SECRET_JWT_KEY_VERSION=v1

View File

@ -1,13 +1,13 @@
# baserow
> One line description of the recipe
> Minimum Viable deploy of Baserow: Open source no-code database and Airtable alternative
<!-- metadata -->
* **Category**: Apps
* **Status**: 0
* **Image**: [`baserow`](https://hub.docker.com/r/baserow), 4, upstream
* **Healthcheck**: No
* **Healthcheck**: Yes (using https://baserow.io/docs/installation%2Finstall-with-docker#running-healthchecks-on-baserow)
* **Backups**: No
* **Email**: No
* **Tests**: No

21
compose.email.yml Normal file
View File

@ -0,0 +1,21 @@
---
version: "3.8"
services:
app:
environment:
- EMAIL_SMTP=true
- EMAIL_SMTP_PASSWORD_FILE=/run/secrets/email_smtp_password
- FROM_EMAIL
- EMAIL_SMTP_USE_TLS
- EMAIL_SMTP_HOST
- EMAIL_SMTP_PORT
- EMAIL_SMTP_USER
secrets:
- email_smtp_password
secrets:
email_smtp_password:
external: true
name: ${STACK_NAME}_email_smtp_password_${SECRET_EMAIL_SMTP_PASSWORD_VERSION}

View File

@ -3,27 +3,34 @@ version: "3.8"
services:
app:
image: baserow/baserow:1.21.2
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/jwt_key
- BASEROW_CADDY_ADDRESSES=:80
- BASEROW_BUILDER_DOMAINS=${WILDCARD_DOMAIN}
secrets:
- secret_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.1.1+1.21.2"
- "coop-cloud.${STACK_NAME}.version=1.0.0+1.31.1"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
interval: 30s
timeout: 10s
retries: 10
@ -38,3 +45,11 @@ volumes:
networks:
proxy:
external: true
secrets:
secret_key:
external: true
name: ${STACK_NAME}_secret_key_${SECRET_SECRET_KEY_VERSION}
jwt_key:
external: true
name: ${STACK_NAME}_jwt_key_${SECRET_JWT_KEY_VERSION}

1
release/0.2.0+1.21.2 Normal file
View File

@ -0,0 +1 @@
Fix compose file

1
release/0.3.0+1.25.2 Normal file
View File

@ -0,0 +1 @@
WARNING: this version includes a major Postgres upgrade, you need to follow the steps here, ideally BEFORE upgrading: https://baserow.io/docs/installation%2Finstall-with-docker#upgrade-process

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>