Update env management

This commit is contained in:
Joey Hafner 2023-04-05 19:36:29 -07:00
parent cd1874ec27
commit c6b6c37f11
4 changed files with 17 additions and 18 deletions

View File

@ -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"

View File

@ -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

View 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

View 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