diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-07-03 11:42:27 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-07-03 11:42:27 +0200 |
commit | 11bfd45124f55a79c71ef10008c8b1cfdffa6a24 (patch) | |
tree | e910e2517a5939b371b67fb9bce4e6448a108ee3 | |
parent | 365fa8db95aff8753025279ee4caacc68008a11e (diff) |
Adds instructions for using only the built docker-compose.yml file
-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 |