mirror of https://github.com/Chocobozzz/PeerTube
Use develop doc for docker
parent
cc49be3e35
commit
83d4aba676
|
@ -21,18 +21,18 @@ cd /your/peertube/directory
|
||||||
#### Get the latest Compose file
|
#### Get the latest Compose file
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml
|
curl https://raw.githubusercontent.com/chocobozzz/PeerTube/develop/support/docker/production/docker-compose.yml > docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
View the source of the file you're about to download: [docker-compose.yml](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/docker-compose.yml)
|
View the source of the file you're about to download: [docker-compose.yml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml)
|
||||||
|
|
||||||
#### Get the latest env_file
|
#### Get the latest env_file
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env > .env
|
curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/docker/production/.env > .env
|
||||||
```
|
```
|
||||||
|
|
||||||
View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env)
|
View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env)
|
||||||
|
|
||||||
#### Tweak the `docker-compose.yml` file there according to your needs
|
#### Tweak the `docker-compose.yml` file there according to your needs
|
||||||
|
|
||||||
|
@ -46,14 +46,14 @@ $EDITOR ./docker-compose.yml
|
||||||
$EDITOR ./.env
|
$EDITOR ./.env
|
||||||
```
|
```
|
||||||
|
|
||||||
In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env), you must replace:
|
In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env), you must replace:
|
||||||
- `<MY POSTGRES USERNAME>`
|
- `<MY POSTGRES USERNAME>`
|
||||||
- `<MY POSTGRES PASSWORD>`
|
- `<MY POSTGRES PASSWORD>`
|
||||||
- `<MY DOMAIN>` without 'https://'
|
- `<MY DOMAIN>` without 'https://'
|
||||||
- `<MY EMAIL ADDRESS>`
|
- `<MY EMAIL ADDRESS>`
|
||||||
|
|
||||||
Other environment variables are used in
|
Other environment variables are used in
|
||||||
[/support/docker/production/config/custom-environment-variables.yaml](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/config/custom-environment-variables.yaml) and can be
|
[/support/docker/production/config/custom-environment-variables.yaml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/custom-environment-variables.yaml) and can be
|
||||||
intuited from usage.
|
intuited from usage.
|
||||||
|
|
||||||
#### Testing local Docker setup
|
#### Testing local Docker setup
|
||||||
|
@ -124,4 +124,4 @@ $ docker build . -f ./support/docker/production/Dockerfile.buster
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
We don't have a Docker image for development. See [the CONTRIBUTING guide](https://github.com/Chocobozzz/PeerTube/blob/master/.github/CONTRIBUTING.md#develop) for more information on how you can hack PeerTube!
|
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!
|
||||||
|
|
Loading…
Reference in New Issue