summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Readme.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index 68c3eac..6b2c086 100644
--- a/Readme.md
+++ b/Readme.md
@@ -71,6 +71,32 @@ Config:
Runs mastodon
+
+## Using only the built docker-compose.yml file
+
+
+### First time setup
+
+- get the [.env.example](.env.example) file and save it as `.env`
+
+- create `.env.production`
+```
+touch .env.production
+```
+
+- run `bundle exec rake mastodon:setup` in the `web` container
+```
+docker-compose run --rm -v $PWD/.env.production:/opt/mastodon/.env.production web bundle exec rake mastodon:setup
+```
+
+
+### Run all services
+
+```
+docker-compose up -d
+```
+
+
## Credits
- https://github.com/peterrus/docker-mastodon