Skip to content

Commit 738826e

Browse files
committed
pass the password in as an environment variable
1 parent de0c513 commit 738826e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Docker/postgis-geocoder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
context: .
66
dockerfile: postgis-geocoder.Dockerfile
77
environment:
8-
- POSTGRES_PASSWORD=yourpasswordhere
8+
- POSTGRES_PASSWORD=$PGPASSWORD
99
- PGDATA=/var/lib/postgresql/data/pgdata
1010
image: docker.io/znmeb/postgis-geocoder
1111
ports:

Docker/postgis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
context: .
66
dockerfile: postgis.Dockerfile
77
environment:
8-
- POSTGRES_PASSWORD=yourpasswordhere
8+
- POSTGRES_PASSWORD=$PGPASSWORD
99
- PGDATA=/var/lib/postgresql/data/pgdata
1010
image: docker.io/znmeb/postgis
1111
ports:

0 commit comments

Comments
 (0)