Update env management
This commit is contained in:
parent
cd1874ec27
commit
c6b6c37f11
@ -42,7 +42,8 @@ services:
|
||||
networks:
|
||||
- peertube
|
||||
env_file:
|
||||
- .env
|
||||
- postgres.env
|
||||
- postgres_secrets.env
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME}/db:/var/lib/postgresql/data
|
||||
restart: "no"
|
||||
@ -62,7 +63,7 @@ services:
|
||||
networks:
|
||||
- peertube
|
||||
env_file:
|
||||
- .env
|
||||
- postfix.env
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME}/opendkim/keys:/etc/opendkim/keys
|
||||
restart: "no"
|
||||
|
@ -1,11 +1,3 @@
|
||||
# Database / Postgres service configuration
|
||||
POSTGRES_USER=postgresuser
|
||||
#POSTGRES_PASSWORD=postgrespassword
|
||||
# Postgres database name "peertube"
|
||||
POSTGRES_DB=peertube
|
||||
# Editable only with a suffix :
|
||||
#POSTGRES_DB=peertube_prod
|
||||
#PEERTUBE_DB_SUFFIX=_prod
|
||||
PEERTUBE_DB_USERNAME=postgresuser
|
||||
#PEERTUBE_DB_PASSWORD=postgrespassword
|
||||
PEERTUBE_DB_SSL=false
|
||||
@ -34,14 +26,6 @@ PEERTUBE_SMTP_TLS=false
|
||||
PEERTUBE_SMTP_DISABLE_STARTTLS=false
|
||||
PEERTUBE_ADMIN_EMAIL=joey@jafner.net
|
||||
|
||||
# Postfix service configuration
|
||||
POSTFIX_myhostname=jafner.net
|
||||
# If you need to generate a list of sub/DOMAIN keys
|
||||
# pass them as a whitespace separated string <DOMAIN>=<selector>
|
||||
OPENDKIM_DOMAINS=jafner.net=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
|
||||
|
7
homelab/jafner-net/config/peertube/postfix.env
Normal file
7
homelab/jafner-net/config/peertube/postfix.env
Normal file
@ -0,0 +1,7 @@
|
||||
# Postfix service configuration
|
||||
POSTFIX_myhostname=jafner.net
|
||||
# If you need to generate a list of sub/DOMAIN keys
|
||||
# pass them as a whitespace separated string <DOMAIN>=<selector>
|
||||
OPENDKIM_DOMAINS=jafner.net=peertube
|
||||
# see https://github.com/wader/postfix-relay/pull/18
|
||||
OPENDKIM_RequireSafeKeys=no
|
7
homelab/jafner-net/config/peertube/postgres.env
Normal file
7
homelab/jafner-net/config/peertube/postgres.env
Normal file
@ -0,0 +1,7 @@
|
||||
# Database / Postgres service configuration
|
||||
POSTGRES_USER=postgresuser
|
||||
#POSTGRES_PASSWORD=postgrespassword
|
||||
# Postgres database name "peertube"
|
||||
POSTGRES_DB=peertube
|
||||
# Editable only with a suffix :
|
||||
#POSTGRES_DB=peertube_prod
|
Loading…
Reference in New Issue
Block a user