Commit f7940605 authored by ppom's avatar ppom

[peertube] add connection to smtp server. database secrets in separate file....

[peertube] add connection to smtp server. database secrets in separate file. remove sample postfix container.
parent f27a9043
......@@ -53,7 +53,7 @@ services:
postgres:
image: postgres:10-alpine
container_name: peertube
container_name: peertube_db
env_file:
- ./secrets/peertube.secrets
volumes:
......@@ -66,6 +66,7 @@ services:
redis:
image: redis:4-alpine
container_name: peertube_cache
volumes:
- peertube_redis_data:/data
networks:
......@@ -74,14 +75,3 @@ services:
labels:
traefik.enable: "false"
postfix:
image: mwader/postfix-relay
env_file:
- ./secrets/peertube.secrets
volumes:
- peertube_postfix_keys:/etc/opendkim/keys
networks:
- peertube
labels:
traefik.enable: "false"
restart: "always"
# Database / Postgres service configuration
POSTGRES_USER=peertube
POSTGRES_PASSWORD=peertube
# Postgres database name "peertube"
POSTGRES_DB=peertube
# Editable only with a suffix :
#POSTGRES_DB=peertube_prod
#PEERTUBE_DB_SUFFIX=_prod
PEERTUBE_DB_USERNAME=peertube
PEERTUBE_DB_PASSWORD=peertube
# Default to Postgres service name "postgres" in docker-compose.yml
PEERTUBE_DB_HOSTNAME=postgres
# Database / Postgres service configuration
POSTGRES_USER=peertube
POSTGRES_PASSWORD=peertube
# Postgres database name "peertube"
POSTGRES_DB=peertube
# Editable only with a suffix :
#POSTGRES_DB=peertube_prod
#PEERTUBE_DB_SUFFIX=_prod
PEERTUBE_DB_USERNAME=peertube
PEERTUBE_DB_PASSWORD=peertube
# Default to Postgres service name "postgres" in docker-compose.yml
PEERTUBE_DB_HOSTNAME=postgres
# Server configuration
PEERTUBE_WEBSERVER_HOSTNAME=peertube.test.picasoft.net
# If you do not use https and a reverse-proxy in docker-compose.yml
......@@ -22,14 +9,14 @@ PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
# E-mail configuration
# If you use a Custom SMTP server
#PEERTUBE_SMTP_USERNAME=
#PEERTUBE_SMTP_PASSWORD=
PEERTUBE_SMTP_USERNAME=peertube
PEERTUBE_SMTP_PASSWORD=ChangeMe
# Default to Postfix service name "postfix" in docker-compose.yml
# May be the hostname of your Custom SMTP server
PEERTUBE_SMTP_HOSTNAME=postfix
PEERTUBE_SMTP_PORT=25
PEERTUBE_SMTP_FROM=noreply@peertube.test.picasoft.net
PEERTUBE_SMTP_TLS=false
PEERTUBE_SMTP_HOSTNAME=mail.picasoft.net
PEERTUBE_SMTP_PORT=587
PEERTUBE_SMTP_FROM=peertube@.picasoft.net
PEERTUBE_SMTP_TLS=true
PEERTUBE_SMTP_DISABLE_STARTTLS=false
PEERTUBE_ADMIN_EMAIL=peertube@picasoft.net
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment