From 18ffaf2430df57ecc2150bdd89a7ecfd08bd1257 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Feb 2021 10:18:24 +0100 Subject: Remove traefik doc: we don't use it anymore --- support/doc/docker-traefik.md | 44 ------------------------ support/docker/production/config/production.yaml | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 support/doc/docker-traefik.md diff --git a/support/doc/docker-traefik.md b/support/doc/docker-traefik.md deleted file mode 100644 index 4c03cce42..000000000 --- a/support/doc/docker-traefik.md +++ /dev/null @@ -1,44 +0,0 @@ -### Docker + Traefik - -After following the [docker guide](/support/doc/docker.md), you can choose to run traefik -as your reverse-proxy. - -#### Create the reverse proxy configuration directory - -```shell -mkdir -p ./docker-volume/traefik -``` - -#### Get the latest reverse proxy configuration - -```shell -curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/config/traefik.toml > ./docker-volume/traefik/traefik.toml -``` - -View the source of the file you're about to download: [traefik.toml](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/config/traefik.toml) - -#### Create Let's Encrypt ACME certificates as JSON file - -```shell -touch ./docker-volume/traefik/acme.json -``` -Needs to have file mode 600: -```shell -chmod 600 ./docker-volume/traefik/acme.json -``` - -#### Update the reverse proxy configuration - -```shell -$EDITOR ./docker-volume/traefik/traefik.toml -``` - -~~You must replace `` and `` to enable Let's Encrypt SSL Certificates creation.~~ Now included in `.env` file with `TRAEFIK_ACME_EMAIL` and `TRAEFIK_ACME_DOMAINS` variables used through traefik service command value of `docker-compose.yml` file. - -More at: https://docs.traefik.io/v1.7 - -#### Run with traefik - -```shell -docker-compose -f docker-compose.yml -f docker-compose.traefik.yml up -d -``` diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml index 6215b9fdf..c97c37987 100644 --- a/support/docker/production/config/production.yaml +++ b/support/docker/production/config/production.yaml @@ -66,7 +66,7 @@ log: tracker: enabled: true - reject_too_many_announces: false # false because we have issues with traefik and ws ip/port forwarding + reject_too_many_announces: false # false because we have issues with docker ws ip/port forwarding admin: email: null -- cgit v1.2.3