]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/docker-compose.yml
Upgrade client dependencies
[github/Chocobozzz/PeerTube.git] / support / docker / production / docker-compose.yml
index 4ad1a8756ca73dfefdc8cde0b5f6ee539dea85fe..cf90b226ffbac437b75d67a42ec8eb563cf361f5 100644 (file)
@@ -44,13 +44,19 @@ services:
     # If you don't want to use the official image and build one from sources:
     # build:
     #   context: .
-    #   dockerfile: ./support/docker/production/Dockerfile.buster
-    image: chocobozzz/peertube:production-buster
+    #   dockerfile: ./support/docker/production/Dockerfile.bullseye
+    image: chocobozzz/peertube:production-bullseye
+    # 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