37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
services:
|
|
peertube:
|
|
image: chocobozzz/peertube:production-bookworm
|
|
container_name: peertube
|
|
# build:
|
|
# context: .
|
|
# args:
|
|
# VERSION: production
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "0.0.0.0:1935:1935" # Comment if you don't want to use the live feature
|
|
- "127.0.0.1:10016:9000" # Uncomment if you use another webserver/proxy or test PeerTube in local, otherwise not suitable for production
|
|
volumes:
|
|
# Remove the following line if you want to use another webserver/proxy or test PeerTube in local
|
|
- assets:/app/client/dist
|
|
- ./docker-volume/data:/data
|
|
- ./docker-volume/config:/config
|
|
- /var/run/postgresql/.s.PGSQL.5432:/var/run/postgresql/.s.PGSQL.5432:rw
|
|
# group_add:
|
|
# - 989
|
|
# devices:
|
|
# - /dev/dri:/dev/dri
|
|
depends_on:
|
|
- redis
|
|
restart: "always"
|
|
|
|
redis:
|
|
image: valkey/valkey:7.2-alpine
|
|
container_name: peertube-valkey
|
|
volumes:
|
|
- ./docker-volume/redis:/data
|
|
restart: "always"
|
|
|
|
volumes:
|
|
assets:
|
|
certbot-www:
|