1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-28 18:08:21 -05:00

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" restart: "always"
peertube: peertube:
image: chocobozzz/peertube:v1.2.1-stretch image: chocobozzz/peertube:v1.3.0-rc.1-stretch
env_file: env_file:
- .env - .env
volumes: volumes:
@ -72,3 +72,10 @@ services:
environment: environment:
- POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME} - POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}
restart: "always" 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_HOSTNAME={{ domain }}
PEERTUBE_WEBSERVER_PORT=443 PEERTUBE_WEBSERVER_PORT=443
PEERTUBE_WEBSERVER_HTTPS=true 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_HOSTNAME=postfix
PEERTUBE_SMTP_PORT=25 PEERTUBE_SMTP_PORT=25
PEERTUBE_SMTP_FROM=info@{{ domain }} PEERTUBE_SMTP_FROM=info@{{ domain }}