mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-07-21 12:30:58 +08:00
do not assign a password for root since we have removed the ssh server
This commit is contained in:
@@ -2,11 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# generate a password for root.
|
|
||||||
ROOT_PASSWORD=$(pwgen -c -n -1 12)
|
|
||||||
echo "root:$ROOT_PASSWORD" | chpasswd
|
|
||||||
echo User: root Password: $ROOT_PASSWORD
|
|
||||||
|
|
||||||
# start supervisord
|
# start supervisord
|
||||||
/usr/bin/supervisord
|
/usr/bin/supervisord
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user