X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Fdocker.md;h=d7059d285b5aee0235fc39cd81b5d2e8e588752e;hb=5aafc6f373abe6d71c42ed39fdf1285531a43f40;hp=4dd1eab4ac20dce1a417c690a350672bfe0bd42c;hpb=76d5770b7a6c12802287dff401b455b26ad08266;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/doc/docker.md b/support/doc/docker.md index 4dd1eab4a..d7059d285 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md @@ -21,7 +21,8 @@ $ 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) +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) and the [.env] +(https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env) Update the reverse proxy configuration: @@ -40,6 +41,8 @@ Then tweak the `.env` file to change the environment variables: ```shell $ vim ./.env ``` +If you did not download the .env file above, here you can look at the variables that can be set: +https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env Other environment variables are used in `support/docker/production/config/custom-environment-variables.yaml` and can be @@ -81,7 +84,7 @@ $ docker-compose up -d ```shell $ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube $ cd /tmp/peertube -$ docker build . -f ./support/docker/production/Dockerfile.stretch +$ docker build . -f ./support/docker/production/Dockerfile.buster ``` ## Development