Both earlier failures had one cause: the host still had old images cached under the :latest tag (paperless-ngx from 2025-09, i.e. 2.x; heyform from 2025-02, i.e. v2), and the compose task only pulls missing images. So the switch to :latest started year-old code. Pulled the real :latest images on the host. Paperless 3.4.2 has no pending migrations on this database (checked on a copy), and HeyForm v3.0.6 listens on 9157 as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
1.7 KiB
Django/Jinja
63 lines
1.7 KiB
Django/Jinja
services:
|
|
heyform:
|
|
# :latest is only moved by v* release tags (no RCs)
|
|
image: heyform/community-edition:latest
|
|
restart: always
|
|
labels:
|
|
mag37.dockcheck.update: true
|
|
volumes:
|
|
# Persist uploaded images
|
|
- assets:/app/packages/server/static/upload
|
|
depends_on:
|
|
- mongo
|
|
- redis
|
|
environment:
|
|
- APP_HOMEPAGE_URL=https://{{ subdomains.heyform }}
|
|
# Only Caddy may set X-Forwarded-For
|
|
- TRUST_PROXY={{ docker.hairpin_ip }}
|
|
# No public sign-up; new people join through workspace invitations
|
|
- APP_DISABLE_REGISTRATION=true
|
|
- SESSION_KEY={{ vault_heyform.session_key }}
|
|
- FORM_ENCRYPTION_KEY={{ vault_heyform.encryption_key }}
|
|
- INTEGRATION_ENCRYPTION_KEY={{ vault_heyform.integration_encryption_key }}
|
|
- MONGO_URI=mongodb://mongo:27017/heyform
|
|
- REDIS_HOST=redis
|
|
- REDIS_PORT=6379
|
|
- SMTP_FROM=nerderland@{{ email_domains.updates }}
|
|
- SMTP_HOST={{ smtp.host }}
|
|
- SMTP_PORT=465
|
|
- SMTP_USER={{ smtp.username }}
|
|
- SMTP_PASSWORD={{ vault_smtp.password }}
|
|
- SMTP_SECURE=true
|
|
|
|
mongo:
|
|
# HeyForm's own compose files still use 4.4
|
|
image: percona/percona-server-mongodb:4.4
|
|
restart: always
|
|
volumes:
|
|
# Persist MongoDB data
|
|
- database:/data/db
|
|
|
|
redis:
|
|
# v3 needs Redis 8 commands (HGETDEL), so KeyDB no longer works
|
|
image: redis:8-alpine
|
|
restart: always
|
|
command: redis-server --appendonly yes
|
|
labels:
|
|
mag37.dockcheck.update: true
|
|
volumes:
|
|
- redis:/data
|
|
|
|
volumes:
|
|
assets:
|
|
driver: local
|
|
database:
|
|
driver: local
|
|
redis:
|
|
driver: local
|
|
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: {{ docker.network_name }}
|