From 4f809d72b83d47a904cf429f2c76f150d205cdcb Mon Sep 17 00:00:00 2001 From: sn0w Date: Mon, 4 Jun 2018 12:28:31 +0000 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2c7e2b5..dbb3169 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ This repository dockerizes it for easier deployment. - 100% generic - Everything is customizable - Zero special host dependencies +- Configuration is not compile-time - "It just works" ## 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). +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 Currently all data is stored in subfolders of `DOCKER_DATADIR` which will be bind-mounted into the container by docker.