Installing PeerTube behind a reverse proxy using Docker

Hello,

In docker-compose.yml, do I understand correctly that I need to comment out both the webserver: and the certbot: sections (lines 6-41)?

Yes since you already have your front webserver.

Yes

In .env, uncomment the lines PEERTUBE_WEBSERVER_PORT=80 and PEERTUBE_WEBSERVER_HTTPS=false, without editing those values?

It should correspond to your public domain name. So if your reverse proxy (apache) serves peertube on https://myinstance.com it should be PEERTUBE_WEBSERVER_PORT=443 and PEERTUBE_WEBSERVER_HTTPS=true.

1 « J'aime »