make the externa/exposed port configurable
This commit is contained in:
parent
e206487577
commit
cf1ba4395d
2 changed files with 3 additions and 0 deletions
|
|
@ -3,4 +3,5 @@
|
||||||
postgres_password: t0t4l!S3cur1tY.
|
postgres_password: t0t4l!S3cur1tY.
|
||||||
postgres_data_folder: ./psql_data
|
postgres_data_folder: ./psql_data
|
||||||
postgres_version: alpine
|
postgres_version: alpine
|
||||||
|
postgres_external_port: 5432
|
||||||
compose_dir: /srv
|
compose_dir: /srv
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ services:
|
||||||
POSTGRES_PASSWORD: {{ postgres_password }}
|
POSTGRES_PASSWORD: {{ postgres_password }}
|
||||||
volumes:
|
volumes:
|
||||||
- {{ postgres_data_folder }}:/var/lib/postgresql/data
|
- {{ postgres_data_folder }}:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- {{ postgres_external_port }}:5432
|
||||||
|
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer
|
image: adminer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue