diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-04 09:16:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-04-04 09:18:06 +0200 |
commit | 00ee545c2444c35ed0d37df9f91984246aa36124 (patch) | |
tree | 823ab6b93d9b144bc60adef5c69739b0e8fed808 /support/doc/docker.md | |
parent | b5f38b78984c69fd2b4270c50ed58a708174b935 (diff) | |
download | PeerTube-00ee545c2444c35ed0d37df9f91984246aa36124.tar.gz PeerTube-00ee545c2444c35ed0d37df9f91984246aa36124.tar.zst PeerTube-00ee545c2444c35ed0d37df9f91984246aa36124.zip |
Remove $ for bash commands
It prevents easy copy
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r-- | support/doc/docker.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index e3f9b5477..5d950d477 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -97,7 +97,7 @@ docker-compose exec -u peertube peertube npm run reset-password -- -u root | |||
97 | You 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. | 97 | You 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. |
98 | 98 | ||
99 | ```bash | 99 | ```bash |
100 | $ docker-compose logs peertube | grep -A1 root | 100 | docker-compose logs peertube | grep -A1 root |
101 | 101 | ||
102 | peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root | 102 | peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root |
103 | peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop | 103 | peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop |
@@ -110,7 +110,7 @@ peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abc | |||
110 | Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : | 110 | Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : |
111 | 111 | ||
112 | ```bash | 112 | ```bash |
113 | $ cat ./docker-volume/opendkim/keys/*/*.txt | 113 | cat ./docker-volume/opendkim/keys/*/*.txt |
114 | 114 | ||
115 | peertube._domainkey.mydomain.tld. IN TXT ( "v=DKIM1; h=sha256; k=rsa; " | 115 | peertube._domainkey.mydomain.tld. IN TXT ( "v=DKIM1; h=sha256; k=rsa; " |
116 | "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Dx7wLGPFVaxVQ4TGym/eF89aQ8oMxS9v5BCc26Hij91t2Ci8Fl12DHNVqZoIPGm+9tTIoDVDFEFrlPhMOZl8i4jU9pcFjjaIISaV2+qTa8uV1j3MyByogG8pu4o5Ill7zaySYFsYB++cHJ9pjbFSC42dddCYMfuVgrBsLNrvEi3dLDMjJF5l92Uu8YeswFe26PuHX3Avr261n" | 116 | "p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Dx7wLGPFVaxVQ4TGym/eF89aQ8oMxS9v5BCc26Hij91t2Ci8Fl12DHNVqZoIPGm+9tTIoDVDFEFrlPhMOZl8i4jU9pcFjjaIISaV2+qTa8uV1j3MyByogG8pu4o5Ill7zaySYFsYB++cHJ9pjbFSC42dddCYMfuVgrBsLNrvEi3dLDMjJF5l92Uu8YeswFe26PuHX3Avr261n" |
@@ -132,20 +132,20 @@ See the production guide ["What now" section](https://docs.joinpeertube.org/inst | |||
132 | Pull the latest images: | 132 | Pull the latest images: |
133 | 133 | ||
134 | ```shell | 134 | ```shell |
135 | $ cd /your/peertube/directory | 135 | cd /your/peertube/directory |
136 | $ docker-compose pull | 136 | docker-compose pull |
137 | ``` | 137 | ``` |
138 | 138 | ||
139 | Stop, delete the containers and internal volumes (to invalidate static client files shared by `peertube` and `webserver` containers): | 139 | Stop, delete the containers and internal volumes (to invalidate static client files shared by `peertube` and `webserver` containers): |
140 | 140 | ||
141 | ```shell | 141 | ```shell |
142 | $ docker-compose down -v | 142 | docker-compose down -v |
143 | ``` | 143 | ``` |
144 | 144 | ||
145 | Rerun PeerTube: | 145 | Rerun PeerTube: |
146 | 146 | ||
147 | ```shell | 147 | ```shell |
148 | $ docker-compose up -d | 148 | docker-compose up -d |
149 | ``` | 149 | ``` |
150 | 150 | ||
151 | ## Build | 151 | ## Build |
@@ -153,9 +153,9 @@ $ docker-compose up -d | |||
153 | ### Production | 153 | ### Production |
154 | 154 | ||
155 | ```shell | 155 | ```shell |
156 | $ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube | 156 | git clone https://github.com/chocobozzz/PeerTube /tmp/peertube |
157 | $ cd /tmp/peertube | 157 | cd /tmp/peertube |
158 | $ docker build . -f ./support/docker/production/Dockerfile.bullseye | 158 | docker build . -f ./support/docker/production/Dockerfile.bullseye |
159 | ``` | 159 | ``` |
160 | 160 | ||
161 | ### Development | 161 | ### Development |