From 3789996bf873776de64d06d13f296e945f953b93 Mon Sep 17 00:00:00 2001 From: Alexander Terczka Date: Mon, 23 Oct 2017 14:48:47 +0200 Subject: [PATCH] Anonymous git URL is easier for the initial git clone HTTPS hint added --- Running-Mastodon/Docker-Guide.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Running-Mastodon/Docker-Guide.md b/Running-Mastodon/Docker-Guide.md index 2c399441..b59d6095 100644 --- a/Running-Mastodon/Docker-Guide.md +++ b/Running-Mastodon/Docker-Guide.md @@ -14,7 +14,7 @@ The project now includes a `Dockerfile` and a `docker-compose.yml` file (which r Clone Mastodon's repository. - git clone git@github.com:tootsuite/mastodon.git + git clone https://github.com/tootsuite/mastodon cd mastodon Review the settings in `docker-compose.yml`. Note that it is **not default** to store the postgresql database and redis databases in a persistent storage location. If you plan on running your instance in production, you **must** uncomment the [`volumes` directive](https://github.com/tootsuite/mastodon/blob/972f6bc861affd9bc40181492833108f905a04b6/docker-compose.yml#L7-L16) in `docker-compose.yml`. @@ -65,6 +65,12 @@ If you wish to run this as a daemon process instead of monitoring it on console, Then you may login to your new Mastodon instance by browsing to http://localhost:3000/ +If your docker server is not on your local computer you may ssh to the docker first using this command: + + ssh user@your-server -L 3000:localhost:3000 + +If you set `LOCAL_HTTPS` to true before, you have to prepare your TLS nginx first [production guide](Production-guide.md) because connecting to port 3000 redirects you to HTTPS. + Following that, make sure that you read the [production guide](Production-guide.md). You are probably going to want to understand how to configure Nginx to make your Mastodon instance available to the rest of the world.