Compare commits
6
Commits
2.9.0+2026.8.0
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0d96360f2 | ||
|
|
4a56c5caf5 | ||
|
|
bb7f277447 | ||
|
|
a77411e7e7
|
||
|
|
aba1809ebe | ||
|
|
27de33e6b3
|
+7
-1
@@ -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
@@ -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:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
allow setting NUM_WORKERS env to optimize memory usage
|
||||
Reference in New Issue
Block a user