Skip to content

yanghuaxuan/pleroma-otp-docker

Repository files navigation

OTP Release Pleroma, Containerized

Inspired by angristan/docker-pleroma

Features

  • Based on a slightly modified version of this guide
  • Ran as an unprivileged user
  • It works great (probably)

Usage

The image will need to be built by yourself.

  • config.exs runs into permission problems when bind mounted. Thus, the Dockerfile directly copies the file to solve this.
  1. Copy config.exs.example and docker-compose.yml.example
    cp config.exs.example config.exs
    cp docker-compose.yml.example docker-compose.yml
    
  2. Modify config.exs and docker-compose.yml accordingly
    • Hint, you can generate the database password using
      cat /dev/urandom | base64 | head -c 64
      
  3. Build
    docker compose build
    # or
    docker build -t pleroma .
    
  4. Run
    docker compose up -d
    

Upgrading

docker build -t pleroma .
docker-compose run --rm web mix ecto.migrate # migrate the database if needed
docker-compose up -d # recreate the containers if needed

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published