# PeerTube server configuration
# If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1
#PEERTUBE_WEBSERVER_HOSTNAME=peertube.localhost
# If you just want to test PeerTube on local
#PEERTUBE_WEBSERVER_PORT=9000
#PEERTUBE_WEBSERVER_HTTPS=false
# If you need more than one IP as trust_proxy
# pass them as a comma separated array:
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16", "192.168.10.0/16"]
I have commented all props as of now but when i un-comment also i get same error
If your env file has not changed: http://peertube.localhost:9000.
I did not pay attention before my first answer. You are using docker for what seems to be a test environment.
There are some tricky parts to do this. The Peertube’s docker config is meant to use for production environment.
I documented a way to have a dev env using docker here (in french):