Docker config for Pleroma OTP releases
- docker
- docker-compose
./pleroma.sh setup
You'll be prompted to answer the Pleroma config questions as part of setup. Two questions are particularly important to answer correctly.
What is the hostname of your database? Make sure to answer "db" instead of the default "localhost":
What ip will the app listen to (leave it if you are using the default setup with nginx)? Make sure to answer "0.0.0.0" instead of the default "127.0.0.1":
If you want to change your hostname or ports, you will need to edit:
docker-compose.yml
volumes/config/nginx/pleroma.conf
(after generating the config)
./pleroma.sh start
Browse to https://localhost
./pleroma.sh stop
# Remove containers and images
sudo docker-compose down --rmi all
# Delete DB and all config
# Make sure you don't want your data!
# Make sure you're in the correct directory!
# sudo rm -r volumes/