Adds note about persisting volumes. (#113)

This commit is contained in:
Ash Furrow 2017-04-21 18:34:36 -04:00 committed by wxcafé
parent f03019d353
commit 22c52995ad
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ The project now includes a `Dockerfile` and a `docker-compose.yml` file (which r
## Setting up
Review the settings in `docker-compose.yml`. Note that it is not default to store the postgresql database and redis databases in a persistent storage location,
so you may need or want to adjust the settings there.
Review the settings in `docker-compose.yml`. Note that it is **not default** to store the postgresql database and redis databases in a persistent storage location. If you plan on running your instance in production, you **must** uncomment the [`volumes` directive](https://github.com/tootsuite/mastodon/blob/972f6bc861affd9bc40181492833108f905a04b6/docker-compose.yml#L7-L16) in `docker-compose.yml`.
Then, you need to fill in the `.env.production` file: