-
-
Notifications
You must be signed in to change notification settings - Fork 311
Fix password #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix password #313
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it seems there only slight refactoring changes.
@@ -3,6 +3,7 @@ POSTGRES_MAJOR_VERSION=$(cat /tmp/pg_version.txt) | |||
POSTGIS_MAJOR=$(cat /tmp/pg_major_version.txt) | |||
POSTGIS_MINOR_RELEASE=$(cat /tmp/pg_minor_version.txt) | |||
DEFAULT_DATADIR="/var/lib/postgresql/${POSTGRES_MAJOR_VERSION}/main" | |||
POSTGRES_INITDB_WALDIR="/opt/postgresql/${POSTGRES_MAJOR_VERSION}/pg_waldir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, to reconfirm, POSTGRES_INITDB_WALDIR
uses /opt/postgresql
directory while DEFAULT_DATADIR
uses /var/lib/postgresql
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can change the location from /opt/postgresql to another location if you feel so. The idea is to be able to mount the two in different folders as done in Postgres official images
README.md
Outdated
@@ -306,6 +306,10 @@ To create a running container do: | |||
docker run --name "postgis" -p 25432:5432 -d -t kartoza/postgis | |||
``` | |||
|
|||
**NB** If you do not pass the env variable `POSTGRES_PASS` a random password |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace NB with Note (many people are unfamiliar with the term notae benae)
Uh oh!
There was an error while loading. Please reload this page.