]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Support live port in docker compose
authorChocobozzz <me@florianbigard.com>
Thu, 7 Jan 2021 10:18:47 +0000 (11:18 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 7 Jan 2021 10:18:47 +0000 (11:18 +0100)
support/docker/production/docker-compose.yml

index e23f31c3924e8c9608f6e8a8cceb9352be08c296..6588337000756981d3f16d7faffb76131354375e 100644 (file)
@@ -53,9 +53,10 @@ services:
         ipv4_address: 172.18.0.42
     env_file:
       - .env
-    # If you provide your own webserver and reverse-proxy, otherwise not suitable for production:
-    #ports:
-    #  - "80:9000" # serving HTTP
+
+    ports:
+     - "1935:1935" # If you don't want to use the live feature, you can comment this line
+    #  - "9000:9000" # If you provide your own webserver and reverse-proxy, otherwise not suitable for production
     volumes:
       - assets:/app/client/dist
       - ./docker-volume/data:/data