Fix client IP address seen by Peertube, update Peertube version

This commit is contained in:
Felix Ableitner 2019-05-21 12:22:31 +02:00
parent fe2577c8f2
commit c2cce34964
2 changed files with 9 additions and 2 deletions

View file

@ -36,7 +36,7 @@ services:
restart: "always"
peertube:
image: chocobozzz/peertube:v1.2.1-stretch
image: chocobozzz/peertube:v1.3.0-rc.1-stretch
env_file:
- .env
volumes:
@ -72,3 +72,10 @@ services:
environment:
- POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}
restart: "always"
networks:
default:
ipam:
driver: default
config:
- subnet: 172.18.0.0/16

View file

@ -1,7 +1,7 @@
PEERTUBE_WEBSERVER_HOSTNAME={{ domain }}
PEERTUBE_WEBSERVER_PORT=443
PEERTUBE_WEBSERVER_HTTPS=true
PEERTUBE_TRUST_PROXY=["127.0.0.1"]
PEERTUBE_TRUST_PROXY=["127.0.0.1", "172.18.0.0/16"]
PEERTUBE_SMTP_HOSTNAME=postfix
PEERTUBE_SMTP_PORT=25
PEERTUBE_SMTP_FROM=info@{{ domain }}