From: Leopere <1068374+Leopere@users.noreply.github.com> Date: Sat, 16 Nov 2019 12:41:15 +0000 (-0500) Subject: Clarify and expand on admin credentials detail X-Git-Tag: v2.1.0-rc.1~342 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76d5770b7a6c12802287dff401b455b26ad08266;p=oweals%2Fpeertube.git Clarify and expand on admin credentials detail It felt unclear so I clarified and suggested a method for obtaining the credentials easier. --- diff --git a/support/doc/docker.md b/support/doc/docker.md index 7ee6d65fe..4dd1eab4a 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md @@ -50,9 +50,15 @@ You can use the regular `up` command to set it up: ```shell $ docker-compose up ``` - -**Important**: note that you'll get the initial `root` user password from the -program output, so check out your logs to find them. +### Obtaining Your Automatically Generated Admin Credentials +Now that you've installed your PeerTube instance you'll want to grep your peertube container's logs for the `root` password. +You're going to want to run `docker-compose logs peertube | grep -A1 root` to search the log output for your new PeerTube's instance admin credentials which will look something like this. +```BASH +user@s:~/peertube|master⚡ ⇒ docker-compose logs peertube | grep -A1 root + +peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root +peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop +``` ### What now?