You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
812 B
Django/Jinja
32 lines
812 B
Django/Jinja
# modified from source: https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/docker-compose.yml
|
|
services:
|
|
peertube:
|
|
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:
|
|
- {{ peertube_files_dir }}:/data
|
|
- {{ peertube_config_dir }}:/config
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
restart: "always"
|
|
pull_policy: "always"
|
|
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
env_file:
|
|
- env
|
|
volumes:
|
|
- {{ peertube_db_dir }}:/var/lib/postgresql/data
|
|
restart: "always"
|
|
|
|
redis:
|
|
image: redis:8-alpine
|
|
volumes:
|
|
- {{ peertube_redis_dir }}:/data
|
|
restart: "always"
|