6 # If you don't want to use the official image and build one from sources
9 # dockerfile: ./support/docker/production/Dockerfile.stretch
10 image: chocobozzz/peertube:production-stretch
12 PEERTUBE_HOSTNAME: my.domain.tld
14 PEERTUBE_HTTPS: "true"
15 PEERTUBE_ADMIN_EMAIL: admin@domain.tld
16 PEERTUBE_DB_HOSTNAME: postgres
17 PEERTUBE_DB_USERNAME: postgres_user
18 PEERTUBE_DB_PASSWORD: postgres_password
19 PEERTUBE_SIGNUP_ENABLED: "true"
20 PEERTUBE_TRANSCODING_ENABLED: "true"
21 PEERTUBE_REDIS_HOSTNAME: redis
22 PEERTUBE_SMTP_HOSTNAME: null
23 PEERTUBE_SMTP_PORT: 25
24 PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld
25 PEERTUBE_SMTP_TLS: "true"
26 # Traefik labels are suggested as an example for people using Traefik,
27 # remove them if you are using another reverse proxy.
29 traefik.enable: "true"
30 traefik.frontend.rule: "Host:${PEERTUBE_HOSTNAME}"
32 # If you don't want to use a reverse proxy (not suitable for production!)
43 image: postgres:10-alpine
45 POSTGRES_USER: postgres_user
46 POSTGRES_PASSWORD: postgres_password
49 - ./db:/var/lib/postgresql/data