diff options
Diffstat (limited to 'support/docker/production/.env')
-rw-r--r-- | support/docker/production/.env | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/support/docker/production/.env b/support/docker/production/.env index b4e356a58..5b3b366f5 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env | |||
@@ -3,11 +3,12 @@ POSTGRES_USER=<MY POSTGRES USERNAME> | |||
3 | POSTGRES_PASSWORD=<MY POSTGRES PASSWORD> | 3 | POSTGRES_PASSWORD=<MY POSTGRES PASSWORD> |
4 | # Postgres database name "peertube" | 4 | # Postgres database name "peertube" |
5 | POSTGRES_DB=peertube | 5 | POSTGRES_DB=peertube |
6 | # Editable only with a suffix : | 6 | # The database name used by PeerTube will be PEERTUBE_DB_NAME (only if set) *OR* 'peertube'+PEERTUBE_DB_SUFFIX |
7 | #POSTGRES_DB=peertube_prod | 7 | #PEERTUBE_DB_NAME=<MY POSTGRES DB NAME> |
8 | #PEERTUBE_DB_SUFFIX=_prod | 8 | #PEERTUBE_DB_SUFFIX=_prod |
9 | PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME> | 9 | # Database username and password used by PeerTube must match Postgres', so they are copied: |
10 | PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD> | 10 | PEERTUBE_DB_USERNAME=$POSTGRES_USER |
11 | PEERTUBE_DB_PASSWORD=$POSTGRES_PASSWORD | ||
11 | PEERTUBE_DB_SSL=false | 12 | PEERTUBE_DB_SSL=false |
12 | # Default to Postgres service name "postgres" in docker-compose.yml | 13 | # Default to Postgres service name "postgres" in docker-compose.yml |
13 | PEERTUBE_DB_HOSTNAME=postgres | 14 | PEERTUBE_DB_HOSTNAME=postgres |