aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/docker.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r--support/doc/docker.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index 78a8d2d32..066451067 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -64,7 +64,8 @@ intuited from usage.
64#### Webserver 64#### Webserver
65 65
66::: info 66::: info
67The docker compose file includes a configured web server. You can skip this part and comment the appropriate section in the docker compose if you use another webserver/proxy.::: 67The docker compose file includes a configured web server. You can skip this part and comment the appropriate section in the docker compose if you use another webserver/proxy.
68:::
68 69
69Install the template that the nginx container will use. 70Install the template that the nginx container will use.
70The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file. 71The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file.
@@ -91,20 +92,20 @@ _note_: Newer versions of compose are called with `docker compose` instead of `d
91Run your containers: 92Run your containers:
92 93
93```shell 94```shell
94docker-compose up 95docker compose up
95``` 96```
96 97
97#### Obtaining your automatically-generated admin credentials 98#### Obtaining your automatically-generated admin credentials
98 99
99You can change the automatically created password for user root by running this command from peertube's root directory: 100You can change the automatically created password for user root by running this command from peertube's root directory:
100```shell 101```shell
101docker-compose exec -u peertube peertube npm run reset-password -- -u root 102docker compose exec -u peertube peertube npm run reset-password -- -u root
102``` 103```
103 104
104You can also grep your peertube container's logs for the default `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. 105You can also grep your peertube container's logs for the default `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.
105 106
106```bash 107```bash
107docker-compose logs peertube | grep -A1 root 108docker compose logs peertube | grep -A1 root
108 109
109peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root 110peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root
110peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop 111peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop
@@ -142,19 +143,19 @@ Pull the latest images:
142 143
143```shell 144```shell
144cd /your/peertube/directory 145cd /your/peertube/directory
145docker-compose pull 146docker compose pull
146``` 147```
147 148
148Stop, delete the containers and internal volumes (to invalidate static client files shared by `peertube` and `webserver` containers): 149Stop, delete the containers and internal volumes (to invalidate static client files shared by `peertube` and `webserver` containers):
149 150
150```shell 151```shell
151docker-compose down -v 152docker compose down -v
152``` 153```
153 154
154Rerun PeerTube: 155Rerun PeerTube:
155 156
156```shell 157```shell
157docker-compose up -d 158docker compose up -d
158``` 159```
159 160
160## Build 161## Build