diff --git a/README.md b/README.md index fabb16a..089b3fe 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ * `--name=osmdb` * `-m 2g` momory 2GB - * `-e POSTGRES_USER=alex` + * `-e POSTGRES_USER=gisuser` * `-e POSTGRES_PASS=password` * `-e POSTGRES_DBNAME=osmdb` * `-e ALLOW_IP_RANGE=0.0.0.0/0` すべてのIPからの接続を許可する diff --git a/gisdb.properties b/gisdb.properties new file mode 100755 index 0000000..7e19ffc --- /dev/null +++ b/gisdb.properties @@ -0,0 +1,8 @@ +# for Docker +# +db_driver=org.postgresql.Driver +db_url=jdbc:postgresql://172.17.0.1:5432/gisdb +db_user=gisuser +db_passwd=password + + diff --git a/start.sh b/start.sh index 34e4e84..7436e59 100755 --- a/start.sh +++ b/start.sh @@ -1,7 +1,7 @@ docker pull kartoza/postgis:9.6-2.4 mkdir -p pg_data docker run -d \ --e POSTGRES_USER=alex \ +-e POSTGRES_USER=gisuser \ -e POSTGRES_PASS=password \ -e POSTGRES_DBNAME=gisdb \ -e ALLOW_IP_RANGE=0.0.0.0/0 \