services:
- # You can comment this webserver section if you want to use another webserver/proxy
+ # You can comment this webserver section if you want to use another webserver/proxy or test PeerTube in local
webserver:
image: chocobozzz/peertube-webserver:latest
# If you don't want to use the official image and build one from sources:
- peertube
restart: "always"
- # You can comment this certbot section if you want to use another webserver/proxy
+ # You can comment this certbot section if you want to use another webserver/proxy or test PeerTube in local
certbot:
container_name: certbot
image: certbot/certbot
# 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:
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" # Comment if you don't want to use the live feature
+ # - "9000:9000" # Uncomment if you use another webserver/proxy or test PeerTube in local, otherwise not suitable for production
volumes:
- assets:/app/client/dist
- ./docker-volume/data:/data