Compare commits
12 Commits
0.1.1+1.21
...
0.5.0+1.29
Author | SHA1 | Date | |
---|---|---|---|
0591e1bf1c | |||
016e7b6848 | |||
658be3c520 | |||
3287bfc479 | |||
261493929e | |||
736acbf014 | |||
3564202372 | |||
15817b421d | |||
b1fd18de3f | |||
63b2fda7d3 | |||
da39891d71 | |||
e8486625df |
15
.env.sample
15
.env.sample
@ -2,7 +2,22 @@ TYPE=baserow
|
|||||||
|
|
||||||
DOMAIN=baserow.example.com
|
DOMAIN=baserow.example.com
|
||||||
|
|
||||||
|
COMPOSE_FILE="compose.yml"
|
||||||
|
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
#EXTRA_DOMAINS=', `www.baserow.example.com`'
|
#EXTRA_DOMAINS=', `www.baserow.example.com`'
|
||||||
|
|
||||||
LETS_ENCRYPT_ENV=production
|
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_BASEROW_JWT_SIGNING_KEY_VERSION=v1
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# baserow
|
# baserow
|
||||||
|
|
||||||
> One line description of the recipe
|
> Minimum Viable deploy of Baserow: Open source no-code database and Airtable alternative
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 0
|
* **Status**: 0
|
||||||
* **Image**: [`baserow`](https://hub.docker.com/r/baserow), 4, upstream
|
* **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
|
* **Backups**: No
|
||||||
* **Email**: No
|
* **Email**: No
|
||||||
* **Tests**: No
|
* **Tests**: No
|
||||||
|
21
compose.email.yml
Normal file
21
compose.email.yml
Normal 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}
|
||||||
|
|
20
compose.yml
20
compose.yml
@ -3,11 +3,17 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: baserow/baserow:1.21.2
|
image: baserow/baserow:1.29.0
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
- BASEROW_PUBLIC_URL=https://${DOMAIN}
|
- BASEROW_PUBLIC_URL=https://${DOMAIN}
|
||||||
|
- SECRET_KEY_FILE=/run/secrets/secret_key
|
||||||
|
- BASEROW_JWT_SIGNING_KEY_FILE=/run/secrets/baserow_jwt_signing_key
|
||||||
|
- BASEROW_CADDY_ADDRESSES=:80
|
||||||
|
secrets:
|
||||||
|
- secret_key
|
||||||
|
- baserow_jwt_signing_key
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
@ -21,9 +27,9 @@ services:
|
|||||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
#- "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.SSLForceHost=true"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "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=0.5.0+1.29.0"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
@ -38,3 +44,11 @@ volumes:
|
|||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
secret_key:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_secret_key_${SECRET_SECRET_KEY_VERSION}
|
||||||
|
baserow_jwt_signing_key:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_baserow_jwt_signing_key_${SECRET_BASEROW_JWT_SIGNING_KEY_VERSION}
|
||||||
|
1
release/0.2.0+1.21.2
Normal file
1
release/0.2.0+1.21.2
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix compose file
|
1
release/0.3.0+1.25.2
Normal file
1
release/0.3.0+1.25.2
Normal 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
|
Reference in New Issue
Block a user