mirror of
https://memleak.eu/sn0w/pleroma-docker.git
synced 2024-12-21 20:28:48 -05:00
Update README.md
This commit is contained in:
parent
f413e4993f
commit
4f809d72b8
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user