docker pleroma
https://github.com/WakuwakuP/my-proxy-nginx
git clone https://github.com/WakuwakuP/my-proxy-nginx.git
docker network create --driver front
docker-compose build
docker-compose up -d
git clone --recursive https://github.com/WakuwakuP/my-pleroma.git
cp .env.sample .env
vi .env
docker network create --driver bridge back-pleroma
docker-compose build
docker-compose up -d
docker-compose exec web /opt/pleroma/bin/pleroma_ctl update
docker-compose exec web /opt/pleroma/bin/pleroma_ctl migrate
# db backup
docker-compose exec db pg_dump -d pleroma -U pleroma --format=custom -f /pgdump/pleroma.pgdump
# db restore
docker-compose exec db pg_restore -d pleroma -U pleroma -v -1 /pgdump/pleroma.pgdump
git submodule foreach git pull origin stable
docker-compose build
# build終了まで待つ
docker-compose run --rm web mix ecto.migrate
docker-compose down
docker-compose up -d