|
|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
# 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
|
|
|
|
|
image: chocobozzz/peertube:v{{peertube_version}}-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
|
|
|
|
|
- {{ peertube_files_dir }}:/data
|
|
|
|
|
- {{ peertube_config_dir }}:/config
|
|
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
- redis
|
|
|
|
|
@ -21,11 +21,11 @@ services:
|
|
|
|
|
env_file:
|
|
|
|
|
- env
|
|
|
|
|
volumes:
|
|
|
|
|
- /mnt/juice/peertube/db:/var/lib/postgresql/data
|
|
|
|
|
- {{ peertube_db_dir }}:/var/lib/postgresql/data
|
|
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
image: redis:8-alpine
|
|
|
|
|
volumes:
|
|
|
|
|
- /mnt/juice/peertube/redis:/data
|
|
|
|
|
- {{ peertube_redis_dir }}:/data
|
|
|
|
|
restart: "always"
|
|
|
|
|
|