Missing variable in docker compose

master
Kuba Orlik 7 hours ago
parent bdbd6a226a
commit f32872d2d3

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

Loading…
Cancel
Save