Add documentation for running with docker#1090
Closed
XanderStrike wants to merge 1 commit into
Closed
Conversation
Lastorder-DC
reviewed
Dec 3, 2022
Lastorder-DC
reviewed
Dec 3, 2022
Lastorder-DC
reviewed
Dec 3, 2022
Lastorder-DC
reviewed
Dec 3, 2022
|
|
||
| Now the image can be used to generate a configuration with: | ||
|
|
||
| docker-compose run --rm web bundle exec rake mastodon:setup |
There was a problem hiding this comment.
docker compose(docker-compose v2) also works(and supported by default if docker version is >2.0)
There was a problem hiding this comment.
Also, seems like db/redis host of .env.production should have to changed before/while docker-compose run --rm web bundle exec rake mastodon:setup or adding admin account will be interrupted, and you have to reset password to access account(since random set password is not displayed)
Includes instructions on setting up env, and configuring nginx both on the host and through docker. Largely copied from here: https://gist.github.com/TrillCyborg/84939cd4013ace9960031b803a0590c4
This was referenced Dec 14, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Includes instructions on setting up env, and configuring nginx both on the host and through docker.
Largely copied from here: https://gist.github.com/TrillCyborg/84939cd4013ace9960031b803a0590c4
Includes simpler full-docker instructions for the nginx ingress proxy, as nginx on the host is pretty complicated.
Incorporates a disclaimer from this closed issue: #1035
Closes #770
Closes mastodon/mastodon#21025
Currently not linked to from any other docs as the systemd installation remains the preferred and recommended method.