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

Use network_mode host to fix view counter

This commit is contained in:
Felix Ableitner 2019-04-20 16:09:27 +02:00
parent 32566cd3e4
commit d9b3846237

View File

@ -15,6 +15,9 @@ services:
depends_on:
- nginx
restart: "always"
# Required for view counter to work correctly
# https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666
network_mode: "host"
# If you want to use the Traefik dashboard, you should expose it on a
# subdomain with HTTPS and authentification:
# https://medium.com/@xavier.priour/secure-traefik-dashboard-with-https-and-password-in-docker-5b657e2aa15f