Update README.md

This commit is contained in:
sn0w 2018-06-04 12:28:31 +00:00
parent f413e4993f
commit 4f809d72b8

View File

@ -29,6 +29,7 @@ This repository dockerizes it for easier deployment.
- 100% generic - 100% generic
- Everything is customizable - Everything is customizable
- Zero special host dependencies - Zero special host dependencies
- Configuration is not compile-time
- "It just works" - "It just works"
## Alternatives ## Alternatives
@ -77,6 +78,11 @@ a good experience for both you and your users. It thus supports multiple
This guide will explain some of the tricky `.env` file parts as detailed as possible (but you should still read the comments in there). This guide will explain some of the tricky `.env` file parts as detailed as possible (but you should still read the comments in there).
Since this setup [injects code](https://glitch.sh/sn0w/pleroma-docker/blob/master/docker-config.exs) into pleroma that moves it's configuration into the environment (ref ["The Twelve-Factor App"](https://12factor.net/)),
the built image is 100% reusable and can be shared/replicated across multiple hosts.
To do that just run `./pleroma build` as usual and then tag your image to whatever you want.
Just make sure to start the replicated container with `env_file:` or all required `-e` pairs.
#### Storing Data #### Storing Data
Currently all data is stored in subfolders of `DOCKER_DATADIR` which will be bind-mounted into the container by docker. Currently all data is stored in subfolders of `DOCKER_DATADIR` which will be bind-mounted into the container by docker.