pleroma application in version 2.9.x based on elixir image from hexpm. also see here for inspiration for my Dockerfile.
the pleroma image is augmented with the environment variable DB_PASS_FILE overriding DB_PASS.
use DB_PASS_FILE with docker's secrets element in compose.yaml like so:
secrets:
db_password:
file: ./secret_pg_password.txt
services:
pleroma:
...
environment:
- DB_PASS_FILE=/run/secrets/db_password
...
secrets:
- db_password
don't forget to set permission for user on ./secret_pg_password.txt to 911 (uid=911). this uid is what pleroma uses within the container.
Content type
Image
Digest
sha256:accbda100…
Size
792 MB
Last updated
4 months ago
docker pull bfancy/pleroma