mirror of
https://github.com/cytopia/devilbox.git
synced 2025-04-07 02:56:46 +00:00
Allow postgresql to start without a password
This commit is contained in:
parent
fb77920460
commit
056bbfb057
@ -57,6 +57,13 @@ start: ../.env
|
||||
@$(PWD)/scripts/compose-start.sh
|
||||
|
||||
|
||||
###
|
||||
### Stop Devilbox
|
||||
###
|
||||
stop:
|
||||
@$(PWD)/scripts/compose-stop.sh
|
||||
|
||||
|
||||
###
|
||||
### Show Docker logs
|
||||
###
|
||||
|
@ -355,6 +355,7 @@ services:
|
||||
|
||||
- POSTGRES_USER=${PGSQL_ROOT_USER}
|
||||
- POSTGRES_PASSWORD=${PGSQL_ROOT_PASSWORD}
|
||||
- POSTGRES_HOST_AUTH_METHOD=${PGSQL_HOST_AUTH_METHOD}
|
||||
- PGDATA=/var/lib/postgresql/data/pgdata
|
||||
|
||||
ports:
|
||||
|
@ -626,9 +626,18 @@ PGSQL_ROOT_USER=postgres
|
||||
###
|
||||
### PostgreSQL 'root' user password
|
||||
###
|
||||
### If you want to set a password, ensure to remove 'trust' from
|
||||
### PGSQL_HOST_AUTH_METHOD below
|
||||
###
|
||||
PGSQL_ROOT_PASSWORD=
|
||||
|
||||
|
||||
###
|
||||
### In order to not use a password for PostgreSQL, keep this value at 'trust'
|
||||
###
|
||||
PGSQL_HOST_AUTH_METHOD=trust
|
||||
|
||||
|
||||
###
|
||||
### Expose PostgreSQL Port to Host
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user