]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/docker-compose.yml
forceConsistentCasingInFileNames to true
[github/Chocobozzz/PeerTube.git] / support / docker / production / docker-compose.yml
index 4ad1a8756ca73dfefdc8cde0b5f6ee539dea85fe..6588337000756981d3f16d7faffb76131354375e 100644 (file)
@@ -46,11 +46,17 @@ services:
     #   context: .
     #   dockerfile: ./support/docker/production/Dockerfile.buster
     image: chocobozzz/peertube:production-buster
+    # Use a static IP for this container because nginx does not handle proxy host change without reload
+    # This container could be restarted on crash or until the postgresql database is ready for connection
+    networks:
+      default:
+        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