diff options
-rw-r--r-- | Readme.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 |