# modified from source: https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/docker-compose.yml services: peertube: image: chocobozzz/peertube:v8.2.0-trixie env_file: - env ports: - "1935:1935" # Comment if you don't want to use the live feature - "127.0.0.1:{{peertube_port}}:9000" volumes: - /mnt/juice/peertube/data:/data - /mnt/juice/peertube/config:/config depends_on: - postgres - redis restart: "always" pull_policy: "always" postgres: image: postgres:17-alpine env_file: - env volumes: - /mnt/juice/peertube/db:/var/lib/postgresql/data restart: "always" redis: image: redis:8-alpine volumes: - /mnt/juice/peertube/redis:/data restart: "always"