kopia lustrzana https://github.com/kartoza/docker-postgis
Added missing start batch script
rodzic
b1c60d5eb9
commit
a7c365a336
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Put any tasks you would like to have carried
|
||||||
|
# out when the container is first created here
|
||||||
|
|
||||||
|
# Set the root passwd - grep docker logs for it
|
||||||
|
ROOT_PASSWORD=`pwgen -c -n -1 12`
|
||||||
|
echo "root:$ROOT_PASSWORD" | chpasswd
|
||||||
|
echo "root login password: $ROOT_PASSWORD"
|
||||||
|
|
||||||
|
# Also echo out the pg password written to
|
||||||
|
# /PGPASSWORD.txt when the image was made
|
||||||
|
# by start-postgres.sh
|
||||||
|
|
||||||
|
# Launch supervisor
|
||||||
|
supervisord -n
|
Ładowanie…
Reference in New Issue