Add Zulip to phd-server stack #11
Loading…
Reference in a new issue
No description provided.
Delete branch "add-zulip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds Zulip as the eleventh service on phd-server, inlined into
docker-compose.phd-server.ymlalongside its postgres / rabbitmq / redis / memcached sidecars (following the Immich pattern). Adapted from upstream docker-zulip, pinned to12.0-1.127.0.0.1:8082behind Traefik/Pangolin,DISABLE_HTTPS=True,LOADBALANCER_IPScovering the Docker bridge gateway so Zulip trusts the proxy'sX-Forwarded-*headers.zulip/secrets/(gitignored).make setup phd-servergenerates them..envasZULIP_SMTP_PASSWORDand is threaded into the container asSECRETS_email_password— verified against the upstream entrypoint that theSECRETS_*env-var path writes to the samezulip-secrets.confkey as a/run/secrets/zulip__*file mount would.zulip cmd='...',zulip-create-org,zulip-shell,zulip-backup,zulip-gen-secret.Test plan
docker compose config --quietparses cleanly with stub secret files in placemake helprenders the new Zulip sectionmake setup phd-servergenerates the five secrets and the backup dirmake up phd-serverbrings Zulip up cleanly (no boot-time secret errors)zulip.${BASE_DOMAIN}→http://<phd-server-ip>:8082with WebSocket supportmake zulip-create-orgproduces a working realm-creation linkZULIP_SMTP_PASSWORDin.env, recreate the container, verify invitation emails deliver