debugging

This commit is contained in:
notplants
2025-12-02 13:20:16 -05:00
parent 16c68c085b
commit f49e0f5158
3 changed files with 6 additions and 3 deletions

View File

@ -12,6 +12,8 @@ set -e
[ -f /run/secrets/email_pass ] && export DJANGO_EMAIL_HOST_PASSWORD="$(cat /run/secrets/email_pass)"
# if not in "env" mode, then execute the original entrypoint and command
echo "++ new entrypoint!"
echo "++ cmd: $@"
if [ ! "$1" = "-e" ]; then
exec "$@"
fi

View File

@ -1,6 +1,6 @@
# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
export ABRA_ENTRYPOINT_VERSION=v4
export ABRA_ENTRYPOINT_VERSION=v5
export NGINX_CONF_VERSION=v3
export PG_BACKUP_VERSION=v3

View File

@ -90,7 +90,7 @@ services:
labels:
- "traefik.enable=false"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.2.1+v3.4.2"
- "coop-cloud.${STACK_NAME}.version=0.2.2+v3.4.2"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 15s
@ -110,7 +110,8 @@ services:
timeout: 30s
retries: 20
start_period: 10s
command: ["gunicorn", "-c", "/usr/local/etc/gunicorn/impress.py", "impress.wsgi:application"]
# command: ["gunicorn", "-c", "/usr/local/etc/gunicorn/impress.py", "impress.wsgi:application"]
command: ["tail", "-f", "/dev/null"]
entrypoint: ["/abra-entrypoint.sh", "/usr/local/bin/entrypoint"]
configs:
- source: abra_entrypoint