- build:
- context: .
- dockerfile: ./Dockerfile.stretch
- image: peertube:stretch
- environment:
- PEERTUBE_HOSTNAME: my.domain.tld
- PEERTUBE_PORT: 443
- PEERTUBE_HTTPS: "true"
- PEERTUBE_ADMIN_EMAIL: admin@domain.tld
- PEERTUBE_DB_HOSTNAME: postgres
- PEERTUBE_DB_USERNAME: postgres_user
- PEERTUBE_DB_PASSWORD: postgres_password
- PEERTUBE_SIGNUP_ENABLED: "true"
- PEERTUBE_TRANSCODING_ENABLED: "true"
- PEERTUBE_REDIS_HOSTNAME: redis
- PEERTUBE_SMTP_HOSTNAME: null
- PEERTUBE_SMTP_PORT: 25
- PEERTUBE_SMTP_FROM: noreply@peertube.domain.tld
- PEERTUBE_SMTP_TLS: "true"
+ # If you don't want to use the official image and build one from sources
+ # build:
+ # context: .
+ # dockerfile: ./support/docker/production/Dockerfile.stretch
+ image: chocobozzz/peertube:production-stretch
+ env_file:
+ - .env