xj9 682bfe97ca Update 'README.md' 7 months ago
bin fix build errors, update start path 7 months ago
etc/confd set sane defaults 7 months ago
Dockerfile precompile, fix dumb-init path, add setup notes to README 7 months ago
Makefile precompile, fix dumb-init path, add setup notes to README 7 months ago
README.md Update 'README.md' 7 months ago
build initial commit 7 months ago

README.md

0xj9/pleroma

minbase 0.7 pleroma

make a docker-compose.yml file

# docker-compose.yml
version: "3"
services:
  pleroma:
    image: 0xj9/pleroma
    env_file: pleroma.env
    volumes:
      - uploads:/srv/pleroma/uploads
  postgres:
    image: postgres:10-alpine
volumes:
  uploads:
    driver: local

write down some important variables

HOST=
INSTANCE_LIMIT=
INSTANCE_NAME=
POSTGRES_DB=
POSTGRES_HOST=
POSTGRES_PASSWORD=
POSTGRES_USER=
REGISTRATIONS_OPEN=
SECRET_KEY_BASE=

execute some sql

CREATE USER pleroma WITH ENCRYPTED PASSWORD '<%= dbpass %>' CREATEDB;
CREATE DATABASE pleroma_dev;
ALTER DATABASE pleroma_dev OWNER TO pleroma;
\c pleroma_dev;
--Extensions made by ecto.migrate that need superuser access
CREATE EXTENSION IF NOT EXISTS citext;
CREATE EXTENSION IF NOT EXISTS pg_trgm;

fix permissions

docker-compose exec pleroma chown -R pleroma:pleroma /srv/pleroma/uploads