X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fdocker.md;h=4dd1eab4ac20dce1a417c690a350672bfe0bd42c;hb=16e3c4946d2b380b80ff47522a4d4e509229a0a6;hp=7b2d867a0dd8cd088dc969647c2610de6e21f6f3;hpb=e359e88b08476041c3c52db02fb3ca4e5ee296ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/docker.md b/support/doc/docker.md index 7b2d867a0..4dd1eab4a 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md @@ -21,6 +21,7 @@ $ curl "https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/doc $ touch ./docker-volume/traefik/acme.json && chmod 600 ./docker-volume/traefik/acme.json $ curl -s "https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml" -o docker-compose.yml "https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env" -o .env ``` +View the source of the files you're about to download: [docker-compose.yml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml) and the [traefik.toml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/traefik.toml) Update the reverse proxy configuration: @@ -34,7 +35,7 @@ Tweak the `docker-compose.yml` file there according to your needs: $ vim ./docker-compose.yml ``` -Then tweak the `.env` file to change the enviromnent variables: +Then tweak the `.env` file to change the environment variables: ```shell $ vim ./.env @@ -49,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?