8 dockerfile: ./support/docker/production/Dockerfile.stretch
9 image: peertube:stretch
11 PEERTUBE_HOSTNAME: my.domain.tld
13 PEERTUBE_HTTPS: "true"
14 PEERTUBE_ADMIN_EMAIL: admin@domain.tld
15 PEERTUBE_DB_HOSTNAME: postgres
16 PEERTUBE_DB_USERNAME: postgres_user
17 PEERTUBE_DB_PASSWORD: postgres_password
18 PEERTUBE_SIGNUP_ENABLED: "true"
19 PEERTUBE_TRANSCODING_ENABLED: "true"
20 PEERTUBE_REDIS_HOSTNAME: redis
21 PEERTUBE_SMTP_HOSTNAME: mail.domain.tld
22 PEERTUBE_SMTP_PORT: 25
23 PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld
24 PEERTUBE_SMTP_TLS: "true"
25 # Traefik labels are suggested as an example for people using Traefik,
26 # remove them if you are using another reverse proxy.
28 traefik.enable: "true"
29 traefik.frontend.rule: "Host:${PEERTUBE_HOSTNAME}"
32 - ./data:/usr/src/app/data
41 POSTGRES_USER: postgres_user
42 POSTGRES_PASSWORD: postgres_password
45 - ./db:/var/lib/postgresql/data