]> cat aescling's git repositories - mastodon.git/commitdiff
Guide readers to production wiki page after Docker setup
authorAlex Gleason <alex@alexgleason.me>
Wed, 30 Nov 2016 20:25:48 +0000 (15:25 -0500)
committerAlex Gleason <alex@alexgleason.me>
Wed, 30 Nov 2016 20:25:48 +0000 (15:25 -0500)
README.md

index 00472a6160583c5c9b4693ad095a68c17da18e51..59741e0c97f9ee4b78f366b1a44cd7ec631d65f0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ Consult the example configuration file, `.env.production.sample` for the full li
 
 - PostgreSQL
 - Redis
+- Nginx
 
 ## Running with Docker and Docker-Compose
 
@@ -83,6 +84,10 @@ The container has two volumes, for the assets and for user uploads. The default
 
 **Note**: The `--rm` option for docker-compose will remove the container that is created to run a one-off command after it completes. As data is stored in volumes it is not affected by that container clean-up.
 
+### Static files and production
+
+You will also need to set up a static file server when running in production. See the [production guide](https://github.com/Gargron/mastodon/wiki/Production-guide) for a sample Nginx configuration and instructions.
+
 ### Tasks
 
 - `rake mastodon:media:clear` removes uploads that have not been attached to any status after a while, you would want to run this from a periodic cronjob