Compare commits

...
Author SHA1 Message Date
renovate-bot 116ffcc61f chore(deps): update postgres docker tag to v18 2026-09-15 01:21:41 +00:00
moritz 4d076f4130 Merge pull request 'adds maintenance.md and updates readme' (#5) from LIT_as_maintainers into main
continuous-integration/drone/push Build is failing
Reviewed-on: #5
2026-09-15 00:03:55 +00:00
moritz ae54f9cc8d Merge pull request 'chore: Configure Renovate' (#4) from renovate/configure into main
continuous-integration/drone/push Build is failing
Reviewed-on: #4
2026-09-15 00:03:32 +00:00
moritz 441009b954 fix database migration race condition
continuous-integration/drone/push Build is failing
2026-09-07 21:04:19 +02:00
carla e5c740b7a3 adds maintenance.md and updates readme 2026-08-26 12:28:02 +02:00
carla 1c47909a6f chore: publish 2.7.0+2026.5.1 release
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2026-06-29 09:10:27 +02:00
carla f9e9004a50 chore: update image tags 2026-06-23 09:09:16 +02:00
moritz 5449083859 chore: publish 2.6.1+2026.2.0 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-03-30 13:30:37 +02:00
moritz 27237b519c fix: healthchecks and restart_policy for app container 2026-03-30 13:29:25 +02:00
renovate-bot 1290fb1a40 Add renovate.json 2026-03-10 18:03:25 +00:00
6 changed files with 72 additions and 7 deletions
+32
View File
@@ -0,0 +1,32 @@
# Pretix Recipe Maintenance
All contributions should be made via a pull request. This is to ensure a
certain quality and consistency, that others can rely on.
## Maintainer Responsibilities
A recipe maintainer has the following responsibilities:
- Respond to pull requests / issues within two weeks
- Make image security updates within a week
- Make image major updates every three months
In order to fullfill these responsibilities a recipe maintainer:
- Has to watch the repository (to get notifications)
- Needs to make sure renovate is configured properly
## Pull Requests
A pull request can be merged if it is approved by at least one maintainer. For
pull requests opened by a maintainer they need to be approved by another
maintainer. Even though it is okay to merge a pull request with one approval, it
is always better if all maintainers looked at the pull request and approved it.
## Become a maintainer
Everyone can apply to be a recipe maintainer:
1. Watch the repository to always get updates
2. Simply add your self to the list in the [README.md](./README.md) and open a new pull request with the change.
3. Once the pull request gets merged you will be added to the [pretix maintainers team](https://git.coopcloud.tech/org/coop-cloud/teams/pretix-maintainers).
4. Join the room [#cc-|-pretix-maintenance:matrix.org](#cc-|-pretix-maintenance:matrix.org) and chat to other maintainers.
+1
View File
@@ -4,6 +4,7 @@
<!-- metadata -->
* **Maintainer**: Local-IT: [@moritz](https://git.coopcloud.tech/moritz), [@msimon](https://git.coopcloud.tech/simon), [@carla](https://git.coopcloud.tech/carla)
* **Category**: Apps
* **Status**: 0
* **Image**: [`pretix`](https://hub.docker.com/r/pretix), 4, upstream
+2 -1
View File
@@ -1,4 +1,5 @@
export PRETIX_CONFIG_VERSION=v2
export APP_ENTRYPOINT_VERSION=v1
export CRON_ENTRYPOINT_VERSION=v2
export DB_ENTRYPOINT_VERSION=v2
export PG_BACKUP_VERSION=v1
@@ -18,4 +19,4 @@ echo "Changed admin password"
fix_collation_mismatch() {
psql -U ${POSTGRES_USER} -d ${POSTGRES_DB} -c "ALTER DATABASE ${POSTGRES_DB} REFRESH COLLATION VERSION;"
psql -U ${POSTGRES_USER} -d ${POSTGRES_DB} -c "REINDEX DATABASE ${POSTGRES_DB};"
}
}
+14 -6
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "pretix/standalone:2026.2.0"
image: "pretix/standalone:2026.5.1"
networks:
- proxy
- internal
@@ -12,6 +12,11 @@ services:
configs:
- source: pretix_config
target: /etc/pretix/pretix.cfg
- source: app_entrypoint
target: /usr/local/bin/wait-for-db.sh
mode: 0555
entrypoint: ["/usr/local/bin/wait-for-db.sh"]
command: ["all"]
secrets:
- db_password
- smtp_password
@@ -19,23 +24,23 @@ services:
- admin_pass
deploy:
restart_policy:
condition: on-failure
condition: any
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}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=2.6.0+2026.2.0"
- "coop-cloud.${STACK_NAME}.version=2.7.0+2026.5.1"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/healthcheck"]
interval: 30s
timeout: 10s
retries: 30
start_period: 1m
start_period: 5m
db:
image: postgres:16
image: postgres:18
volumes:
- "postgres:/var/lib/postgresql/data"
networks:
@@ -72,7 +77,7 @@ services:
backupbot.restore.post-hook: "/pg_backup.sh restore"
redis:
image: redis:8.6.1-alpine
image: redis:8.8.0-alpine
volumes:
- "redis:/data"
healthcheck:
@@ -102,6 +107,9 @@ volumes:
redis:
configs:
app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: entrypoint.wait-for-db.sh
pretix_config:
name: ${STACK_NAME}_pretix_config_${PRETIX_CONFIG_VERSION}
file: pretix.cfg.tmpl
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
set -e
until python3 -c "
import psycopg2, sys
try:
psycopg2.connect(host='db', dbname='pretix', user='pretix',
password=open('/run/secrets/db_password').read().strip(),
connect_timeout=3)
except Exception:
sys.exit(1)
"; do
echo 'waiting for postgres...'
sleep 2
done
exec /usr/local/bin/pretix "$@"
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}