aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-12 10:18:24 +0100
committerChocobozzz <me@florianbigard.com>2021-02-12 10:18:24 +0100
commit18ffaf2430df57ecc2150bdd89a7ecfd08bd1257 (patch)
treea4934767b6dcbd7decebf9792fd59c531898f7d5 /support/doc
parent9817060fb7b4b728eed366bd75c9cba638a4c78d (diff)
downloadPeerTube-18ffaf2430df57ecc2150bdd89a7ecfd08bd1257.tar.gz
PeerTube-18ffaf2430df57ecc2150bdd89a7ecfd08bd1257.tar.zst
PeerTube-18ffaf2430df57ecc2150bdd89a7ecfd08bd1257.zip
Remove traefik doc: we don't use it anymore
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/docker-traefik.md44
1 files changed, 0 insertions, 44 deletions
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 @@
1### Docker + Traefik
2
3After following the [docker guide](/support/doc/docker.md), you can choose to run traefik
4as your reverse-proxy.
5
6#### Create the reverse proxy configuration directory
7
8```shell
9mkdir -p ./docker-volume/traefik
10```
11
12#### Get the latest reverse proxy configuration
13
14```shell
15curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/config/traefik.toml > ./docker-volume/traefik/traefik.toml
16```
17
18View 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)
19
20#### Create Let's Encrypt ACME certificates as JSON file
21
22```shell
23touch ./docker-volume/traefik/acme.json
24```
25Needs to have file mode 600:
26```shell
27chmod 600 ./docker-volume/traefik/acme.json
28```
29
30#### Update the reverse proxy configuration
31
32```shell
33$EDITOR ./docker-volume/traefik/traefik.toml
34```
35
36~~You must replace `<MY EMAIL ADDRESS>` and `<MY DOMAIN>` 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.
37
38More at: https://docs.traefik.io/v1.7
39
40#### Run with traefik
41
42```shell
43docker-compose -f docker-compose.yml -f docker-compose.traefik.yml up -d
44```