about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-14 21:39:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-14 21:39:39 +0100
commitb17202ca0f19b83beb25afdba7e713a0f9329ffa (patch)
treeb37a10279062d6a595e969c1bf9fbefdb04a21a4 /README.md
parent6fec8afc3f91166930c8b4dfca441a5a70a24d5b (diff)
Adding a docker-compose template for running Mastodon easily
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 273d1a1b3..592e150c0 100644
--- a/README.md
+++ b/README.md
@@ -15,12 +15,12 @@ Mastodon is a federated microblogging engine. An alternative implementation of t
 - Mentions and URLs converted to links in statuses
 - REST API, including home and mention timelines
 - OAuth2 provider system for the API
+- Upload header image for profile page
 
 Missing:
 
 - Media attachments (photos, videos)
 - UI to post, reblog, favourite, follow and unfollow
-- Upload header image for profile page
 - Deleting statuses, deletion propagation
 - Streaming API
 
@@ -34,3 +34,17 @@ Missing:
 
 - PostgreSQL
 - Redis
+
+## Running with Docker and Docker-Compose
+
+The project now includes a Dockerfile and a docker-compose.yml. You need to turn .env.production sample into .env.production with all the variables set before you can:
+
+    docker-compose build
+
+And finally
+
+    docker-compose up
+
+As usual, the first thing you would need to do would be to run migrations:
+
+    docker-compose run web rake db:migrate