2 Commits

Author SHA1 Message Date
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
2 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,9 @@ 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"

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: baserow/baserow:1.30.1
image: baserow/baserow:1.31.1
networks:
- proxy
environment:
@ -11,6 +11,7 @@ services:
- SECRET_KEY_FILE=/run/secrets/secret_key
- BASEROW_JWT_SIGNING_KEY_FILE=/run/secrets/baserow_jwt_signing_key
- BASEROW_CADDY_ADDRESSES=:80
- BASEROW_BUILDER_DOMAINS=${WILDCARD_DOMAIN}
secrets:
- secret_key
- baserow_jwt_signing_key
@ -20,14 +21,14 @@ services:
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=0.7.0+1.31.1"
healthcheck:
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
interval: 30s