Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f930450

Browse files
committed
Clearer docker doc hierarchy
1 parent 8ace680 commit f930450

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

support/doc/docker.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
This guide requires [docker](https://www.docker.com/community-edition) and
44
[docker-compose](https://docs.docker.com/compose/install/).
55

6-
## Production
7-
8-
### Install
6+
## Install
97

108
**PeerTube does not support webserver host change**. Keep in mind your domain
119
name is definitive after your first PeerTube start.
@@ -86,7 +84,7 @@ Run your containers:
8684
docker-compose up
8785
```
8886

89-
### Obtaining your automatically-generated admin credentials
87+
#### Obtaining your automatically-generated admin credentials
9088

9189
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.
9290

@@ -97,7 +95,7 @@ peertube_1 | [example.com:443] 2019-11-16 04:26:06.082 info: Username: root
9795
peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abcdefghijklmnop
9896
```
9997

100-
### Obtaining Your Automatically Generated DKIM DNS TXT Record
98+
#### Obtaining Your Automatically Generated DKIM DNS TXT Record
10199

102100
[DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) signature sending and RSA keys generation are enabled by the default Postfix image `mwader/postfix-relay` with [OpenDKIM](http://www.opendkim.org/).
103101

@@ -111,15 +109,15 @@ peertube._domainkey.mydomain.tld. IN TXT ( "v=DKIM1; h=sha256; k=rsa; "
111109
"j5joTnYwat4387VEUyGUnZ0aZxCERi+ndXv2/wMJ0tizq+a9+EgqIb+7lkUc2XciQPNuTujM25GhrQBEKznvHyPA6fHsFheymOuB763QpkmnQQLCxyLygAY9mE/5RY+5Q6J9oDOQIDAQAB" ) ; ----- DKIM key peertube for mydomain.tld
112110
```
113111

114-
### Administrator password
112+
#### Administrator password
115113

116114
See the production guide ["Administrator" section](https://docs.joinpeertube.org/install-any-os?id=administrator)
117115

118-
### What now?
116+
#### What now?
119117

120118
See the production guide ["What now" section](https://docs.joinpeertube.org/install-any-os?id=what-now).
121119

122-
### Upgrade
120+
## Upgrade
123121

124122
**Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml).
125123

@@ -142,14 +140,16 @@ Rerun PeerTube:
142140
$ docker-compose up -d
143141
```
144142

145-
## Build your own Docker image
143+
## Build
144+
145+
### Production
146146

147147
```shell
148148
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
149149
$ cd /tmp/peertube
150150
$ docker build . -f ./support/docker/production/Dockerfile.buster
151151
```
152152

153-
## Development
153+
### Development
154154

155155
We don't have a Docker image for development. See [the CONTRIBUTING guide](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#develop) for more information on how you can hack PeerTube!

0 commit comments

Comments
 (0)