-
Notifications
You must be signed in to change notification settings - Fork 8
/
.env-dist
28 lines (21 loc) · 1.31 KB
/
.env-dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## POSTGRES_TRAEFIK_HOST can be any domain that resolves to your Docker server:
## This name is used in the server certificate as part of the sslmode=verify-full option
POSTGRES_TRAEFIK_HOST=postgres.example.com
## The docker tag for the postgres image:
POSTGRES_VERSION=17
## The postgres image creates the POSTGRES_USER as a Super User and with POSTGRES_PASSWORD.
## We will rename these here as POSTGRES_ADMIN_USER and POSTGRES_ADMIN_PASSWORD
## The POSTGRES_ADMIN_USER can ONLY log in from the root terminal console, not via the network.
POSTGRES_ADMIN_USER=root
## Note: This password is required to be set by the postgres image, but its not
## being used in any of the authentication schemes currently defined in our
## customized pg_hba.conf, so this password doesn't really matter.
POSTGRES_ADMIN_PASSWORD=change_me_but_it_doesnt_really_matter
## The name of the database to create on first startup:
POSTGRES_DB=tweedle
## The external TCP port mapped on the docker host (public access!)
POSTGRES_EXTERNAL_TCP_PORT=5432
## Allowed IP address source range (CIDR with /netmask) for postgres clients to connect:
## eg. To allow any host to conenct (still needs valid certificate), use: 0.0.0.0/0
## eg. To allow only a single ip to connect (example 192.168.1.1), use: 192.168.1.1/32
POSTGRES_ALLOWED_IP_SOURCERANGE=0.0.0.0/0