12345678910111213141516171819202122232425262728293031323334353637 |
- version: "3"
- networks:
- web:
- external: true
- services:
- app:
- image: chocobozzz/peertube:production-stretch
- restart: unless-stopped
- env_file:
- - .env
- environment:
- - PEERTUBE_WEBSERVER_HOSTNAME=peertube.${CHATONS_DOMAIN:-local}
- labels:
- traefik.enable: "true"
- traefik.frontend.rule: "Host: peertube.${CHATONS_DOMAIN:-local}, www.peertube.${CHATONS_DOMAIN:-local}"
- networks:
- - web
- - default
- volumes:
- - ${CHATONS_ROOT_DIR:-/srv/chatons}/peertube/data:/data
- - ${CHATONS_ROOT_DIR:-/srv/chatons}/peertube/config:/config
- db:
- image: postgres:10-alpine
- restart: unless-stopped
- env_file:
- - .env
- volumes:
- - ${CHATONS_ROOT_DIR:-/srv/chatons}/peertube/postgres:/var/lib/postgresql/data
- redis:
- image: redis:4-alpine
- restart: unless-stopped
- volumes:
- - ${CHATONS_ROOT_DIR:-/srv/chatons}/peertube/redis:/data
|