This commit is contained in:
parent
f5c2f196cc
commit
681dd1a864
|
|
@ -2,6 +2,25 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:13-alpine
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./docker-volume/db:/var/lib/postgresql/data
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
redis:
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
image: redis:6-alpine
|
||||||
|
volumes:
|
||||||
|
- ./docker-volume/redis:/data
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
|
||||||
peertube:
|
peertube:
|
||||||
image: chocobozzz/peertube:production-buster
|
image: chocobozzz/peertube:production-buster
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -34,23 +53,7 @@ services:
|
||||||
- "traefik.http.services.peertube.loadbalancer.server.port=9000"
|
- "traefik.http.services.peertube.loadbalancer.server.port=9000"
|
||||||
|
|
||||||
|
|
||||||
postgres:
|
|
||||||
image: postgres:13-alpine
|
|
||||||
networks:
|
|
||||||
- frontend
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
volumes:
|
|
||||||
- ./docker-volume/db:/var/lib/postgresql/data
|
|
||||||
restart: "always"
|
|
||||||
|
|
||||||
redis:
|
|
||||||
networks:
|
|
||||||
- frontend
|
|
||||||
image: redis:6-alpine
|
|
||||||
volumes:
|
|
||||||
- ./docker-volume/redis:/data
|
|
||||||
restart: "always"
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
28
env_example
28
env_example
|
|
@ -27,27 +27,11 @@ PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16", "172.36.0.0/16"]
|
||||||
|
|
||||||
# E-mail configuration
|
# E-mail configuration
|
||||||
# If you use a Custom SMTP server
|
# If you use a Custom SMTP server
|
||||||
#PEERTUBE_SMTP_USERNAME=
|
PEERTUBE_SMTP_USERNAME=user@example.com
|
||||||
#PEERTUBE_SMTP_PASSWORD=
|
PEERTUBE_SMTP_PASSWORD=example_password
|
||||||
|
PEERTUBE_SMTP_HOSTNAME=smtp.example.com
|
||||||
# Default to Postfix service name "postfix" in docker-compose.yml
|
PEERTUBE_SMTP_PORT=587
|
||||||
# May be the hostname of your Custom SMTP server
|
PEERTUBE_SMTP_FROM=user@example.com
|
||||||
PEERTUBE_SMTP_HOSTNAME=postfix
|
|
||||||
PEERTUBE_SMTP_PORT=25
|
|
||||||
PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
|
|
||||||
PEERTUBE_SMTP_TLS=false
|
PEERTUBE_SMTP_TLS=false
|
||||||
PEERTUBE_SMTP_DISABLE_STARTTLS=false
|
PEERTUBE_SMTP_DISABLE_STARTTLS=false
|
||||||
PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
|
PEERTUBE_ADMIN_EMAIL=user@example.com
|
||||||
|
|
||||||
# Postfix service configuration
|
|
||||||
POSTFIX_myhostname=<MY DOMAIN>
|
|
||||||
# If you need to generate a list of sub/DOMAIN keys
|
|
||||||
# pass them as a whitespace separated string <DOMAIN>=<selector>
|
|
||||||
OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
|
|
||||||
# see https://github.com/wader/postfix-relay/pull/18
|
|
||||||
OPENDKIM_RequireSafeKeys=no
|
|
||||||
|
|
||||||
# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
|
|
||||||
#PEERTUBE_SIGNUP_ENABLED=true
|
|
||||||
#PEERTUBE_TRANSCODING_ENABLED=true
|
|
||||||
#PEERTUBE_CONTACT_FORM_ENABLED=true
|
|
||||||
Loading…
Reference in New Issue