Compare commits
7 Commits
3.0.1+v2.0
...
renovate/c
| Author | SHA1 | Date | |
|---|---|---|---|
| 83f50b9d5e | |||
| da159375d8 | |||
| f83774500d | |||
| 71dfab1129 | |||
| 2330e73915 | |||
| bdc6e77e40 | |||
| b26d957cad |
@ -45,7 +45,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
|
||||
|
||||
11
compose.yml
11
compose.yml
@ -14,6 +14,10 @@ services:
|
||||
- DATABASE_URL=postgres://plausible:plausible@${STACK_NAME}_db:5432/plausible
|
||||
- SMTP_HOST_ADDR
|
||||
- MAILER_EMAIL
|
||||
- SMTP_HOST_PORT
|
||||
- SMTP_USER_NAME
|
||||
- SMTP_USER_PWD
|
||||
- SMTP_HOST_SSL_ENABLED
|
||||
- DISABLE_REGISTRATION
|
||||
- DISABLE_AUTH
|
||||
networks:
|
||||
@ -51,7 +55,8 @@ services:
|
||||
backupbot.backup.pre-hook: sh -c 'pg_dump -U "$$POSTGRES_USER" -Fc "$$POSTGRES_DB" | gzip > "/postgres.dump.gz"'
|
||||
backupbot.backup.path: "/postgres.dump.gz"
|
||||
backupbot.backup.post-hook: "rm -f /postgres.dump.gz"
|
||||
backupbot.restore.post-hook: sh -c 'gzip -d /postgres.dump.gz && pg_restore -U "$$POSTGRES_USER" --dbname="$$PLAUSIBLE_DB" < /postgres.dump && rm /postgres.dump'
|
||||
backupbot.restore: "true"
|
||||
backupbot.restore.post-hook: sh -c 'gzip -d /postgres.dump.gz && pg_restore --clean -U "$$POSTGRES_USER" --dbname="$$PLAUSIBLE_DB" < /postgres.dump && rm -f /postgres.dump'
|
||||
|
||||
plausible_events_db:
|
||||
image: clickhouse/clickhouse-server:23.4.2.11-alpine
|
||||
@ -74,8 +79,8 @@ services:
|
||||
backupbot.backup.pre-hook: clickhouse-backup create events
|
||||
backupbot.backup.path: "/var/lib/clickhouse/backup/events"
|
||||
backupbot.backup.post-hook: "rm -rf /var/lib/clickhouse/backup/events"
|
||||
backupbot.restore.post-hook: clickhouse-backup restore events
|
||||
backupbot.resoter.post-hook: "rm -rf /var/lib/clickhouse/backup/events"
|
||||
backupbot.restore: "true"
|
||||
backupbot.restore.post-hook: clickhouse-backup restore --rm events && rm -rf /var/lib/clickhouse/backup/events"
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
|
||||
8
release/3.0.0+v2.0.0
Normal file
8
release/3.0.0+v2.0.0
Normal file
@ -0,0 +1,8 @@
|
||||
⚠ WARNING! ⚠
|
||||
|
||||
This major version upgrade of Plausible requires running a manual data migration
|
||||
-- otherwise you'll see all historical data disappear (don't worry, it's
|
||||
"probably" still there).
|
||||
|
||||
Take a manual docker volume backup, then see here, and strap in:
|
||||
https://github.com/plausible/analytics/discussions/3132
|
||||
6
renovate.json
Normal file
6
renovate.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user