summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-07-03 11:42:27 +0200
committerDaniel Weipert <code@drogueronin.de>2021-07-03 11:42:27 +0200
commit11bfd45124f55a79c71ef10008c8b1cfdffa6a24 (patch)
treee910e2517a5939b371b67fb9bce4e6448a108ee3
parent365fa8db95aff8753025279ee4caacc68008a11e (diff)
Adds instructions for using only the built docker-compose.yml file
-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