Compare commits

..
6 Commits
Author SHA1 Message Date
moritz a0d96360f2 Merge pull request 'chore(deps): update redis docker tag to v8.10.3' (#13) from renovate/redis-8.x into main
continuous-integration/drone/push Build is failing
Reviewed-on: #13
2026-10-26 17:33:33 +00:00
renovate-bot 4a56c5caf5 chore(deps): update redis docker tag to v8.10.3 2026-10-26 17:29:13 +00:00
simon bb7f277447 chore: publish 2.10.1+2026.8.0 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-10-13 13:16:35 +02:00
simon a77411e7e7 fix num_workers in sample.env
continuous-integration/drone/push Build is failing
2026-10-13 13:15:14 +02:00
simon aba1809ebe chore: publish 2.10.0+2026.8.0 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-10-06 15:52:27 +02:00
simon 27de33e6b3 add num_workers env to optimize memory usage
continuous-integration/drone/push Build is failing
2026-10-06 15:43:13 +02:00
3 changed files with 12 additions and 4 deletions
+7 -1
View File
@@ -21,8 +21,14 @@ SMTP_PORT=1025
SMTP_TLS=on
SMTP_SSL=off
## Performance Optimization
## For most small-scale deployments, 2 workers should be enough
## will otherwise scale with VM core count and boost memory usage
## see https://github.com/pretix/pretix/discussions/3632
# NUM_WORKERS=2
# --- Optional: Custom Plugin Image ---
# Set COMPOSE_FILE and PRETIX_PLUGIN_IMAGE_TAG to use custom plugins:
#
# COMPOSE_FILE=compose.yml:compose.plugin.yml
# PRETIX_PLUGIN_IMAGE_TAG=1.0.0
# PRETIX_PLUGIN_IMAGE_TAG=1.0.0
+4 -3
View File
@@ -22,6 +22,8 @@ services:
- smtp_password
- django_secret_key
- admin_pass
environment:
- NUM_WORKERS=${NUM_WORKERS:-}
deploy:
restart_policy:
condition: any
@@ -31,14 +33,13 @@ services:
- "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.9.0+2026.8.0"
- "coop-cloud.${STACK_NAME}.version=2.10.1+2026.8.0"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/healthcheck"]
interval: 30s
timeout: 10s
retries: 30
start_period: 5m
db:
image: postgres:16
volumes:
@@ -77,7 +78,7 @@ services:
backupbot.restore.post-hook: "/pg_backup.sh restore"
redis:
image: redis:8.10.2-alpine
image: redis:8.10.3-alpine
volumes:
- "redis:/data"
healthcheck:
+1
View File
@@ -0,0 +1 @@
allow setting NUM_WORKERS env to optimize memory usage