forked from coop-cloud/baserow
Compare commits
11 Commits
backups
...
troublehoot
| Author | SHA1 | Date | |
|---|---|---|---|
| b774704518 | |||
|
af3d655c8f
|
|||
| 1936226bf5 | |||
| 0865766102 | |||
| 475484928f | |||
| 3158926e7b | |||
| 136ad45cfb | |||
| 26e98e915d | |||
| aa6b8472f5 | |||
| f19c498001 | |||
| db18e08971 |
@@ -1 +1,2 @@
|
||||
export PG_BACKUP_CONFIG_VERSION=v1
|
||||
export PG_BACKUP_CONFIG_VERSION=v1
|
||||
export ENTRYPOINT_VERSION=v1
|
||||
+18
-10
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: baserow/baserow:1.35.3
|
||||
image: baserow/baserow:2.0.5
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
- jwt_key
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
condition: none
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
@@ -33,19 +33,23 @@ services:
|
||||
- "backupbot.backup.pre-hook=/backup.sh pre-backup"
|
||||
- "backupbot.backup.post-hook=/backup.sh post-backup"
|
||||
- "backupbot.restore.post-hook=/backup.sh post-restore"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.2.0+1.35.3"
|
||||
healthcheck:
|
||||
test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
- "coop-cloud.${STACK_NAME}.version=2.0.0+2.0.5"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "./baserow.sh", "backend-cmd", "backend-healthcheck"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
volumes:
|
||||
- baserow_data:/baserow/data
|
||||
configs:
|
||||
- source: backup-postgres
|
||||
target: /backup.sh
|
||||
mode: 0777
|
||||
mode: 0777
|
||||
- source: entrypoint
|
||||
target: /custom-entrypoint.sh
|
||||
mode: 555
|
||||
entrypoint: /custom-entrypoint.sh
|
||||
|
||||
volumes:
|
||||
baserow_data:
|
||||
@@ -54,6 +58,10 @@ configs:
|
||||
backup-postgres:
|
||||
name: backup-postgres_${PG_BACKUP_CONFIG_VERSION}
|
||||
file: ./backup-postgres.sh
|
||||
entrypoint:
|
||||
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
|
||||
file: entrypoint.sh.tmpl
|
||||
template_driver: golang
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
/baserow.sh start
|
||||
|
||||
|
||||
tail -f /dev/null
|
||||
@@ -0,0 +1 @@
|
||||
Backup/restore of the postgres database backend will now use pg_dump and pg_restore
|
||||
@@ -0,0 +1,3 @@
|
||||
= 1 Breaking Change =
|
||||
|
||||
[Builder] Data source now return content with human property names instead of technical ones #4135
|
||||
Reference in New Issue
Block a user