47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
peertube:
|
|
image: chocobozzz/peertube:production-bookworm
|
|
container_name: peertube
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
# - "1935:1935" # Comment if you don't want to use the live feature
|
|
- ${PEERTUBE_PORT}:9000
|
|
volumes:
|
|
# Remove the following line if you want to use another webserver/proxy or test PeerTube in local
|
|
# - assets:/app/client/dist
|
|
- ${MEDIA_PATH}/peertube/data:/data
|
|
- ${DATA_PATH}/peertube/config:/config
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
- postfix
|
|
restart: "always"
|
|
|
|
postgres:
|
|
image: postgres:13-alpine
|
|
container_name: peertube-postgres
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ${MEDIA_PATH}/peertube/db:/var/lib/postgresql/data
|
|
restart: "always"
|
|
|
|
redis:
|
|
image: redis:6-alpine
|
|
container_name: peertube-redis
|
|
volumes:
|
|
- ${MEDIA_PATH}/peertube/redis:/data
|
|
restart: "always"
|
|
|
|
postfix:
|
|
image: mwader/postfix-relay
|
|
container_name: peertube-postfix
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ${MEDIA_PATH}/peertube/opendkim/keys:/etc/opendkim/keys
|
|
restart: "always"
|