Docker Compose
The supplied Compose stack runs PostgreSQL, Plamenu, and Caddy. It requires Docker Engine, Compose, and a release image. See release status before using the download examples.
Prepare the deployment
Replace v0.6.0 with the selected release tag and copy its examples:
# Replace v0.6.0 with the release you want to install.
git clone --branch v0.6.0 --depth 1 \
https://codefloe.com/plamenu/plamenu.git
cd plamenu
cp deploy/.env.example deploy/.env
cp deploy/plamenu.toml.example deploy/plamenu.toml
chmod 600 deploy/.env deploy/plamenu.toml
Before starting:
- Put the release’s immutable
image@sha256:…reference indeploy/.env. - Replace the PostgreSQL password in
.envandplamenu.tomlwith the same random value. - Set the social and Webxdc domains.
- Set
encryption_secrettoopenssl rand -hex 32and escrow it separately from PostgreSQL and media backups. - If
172.30.0.0/24overlaps another network, change it in both files. - Configure SMTP before enabling registration or password reset.
Validate and start
docker compose --env-file deploy/.env -f deploy/compose.yml config
docker compose --env-file deploy/.env -f deploy/compose.yml up -d
docker compose --env-file deploy/.env -f deploy/compose.yml ps
curl -fsS https://social.example.com/ready
All three services should become healthy and the public /ready request must
succeed. Continue with the first administrator, using
the OCI command shown there.