c1e9943c48
* new file: docker/Dockerfile Dockerfile for pygeoapi * Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask * ES and pygeoapi docker * Final file structure * generic port 5000 and localhost * sqlit3 suport in alpine and fixes on sqlite provider * B4 sync with upstream * Working composition problems with ES features * Cosmetic changes update to README.md * using load_es_data.py from github local openapi.yml * added docker pull only of pygeoapi * b4 rebase * Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask * ES and pygeoapi docker * Final file structure * generic port 5000 and localhost * sqlit3 suport in alpine and fixes on sqlite provider * B4 sync with upstream * Cosmetic changes update to README.md * using load_es_data.py from github local openapi.yml * added docker pull only of pygeoapi * b4 rebase * updates and sync * missing proper local.config.yml * wait-for pygeoapi * sync with master config * deleted: docker/ES/wait-for-it.sh new file: docker/pygeoapi/docker-entrypoint.sh new file: docker/pygeoapi/run_pygeoapi.sh openapi.yml pygeoapi/provider/__sqlite.py Missing sh files * missing set +e * wait for ES to be yellow or green * More detailed Readme * new file: .gitignore * simple image docker * missing docker run * new file: Dockerfile new file: docker.config.yml new file: run_pygeoapi.sh Simple image * typos on README
14 lines
289 B
Bash
Executable File
14 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
set +e
|
|
|
|
echo "Waiting for the ES to be up to generate openapi yml"
|
|
|
|
|
|
/wait-for-elasticsearch.sh http://elastic_search:9200 -- /run_pygeoapi.sh
|
|
|
|
if [ $? -eq 1 ]; then
|
|
echo $?
|
|
"Wait for elastic search returned an error, carry on with out ES"
|
|
/run_pygeoapi.sh
|
|
fi
|
|
exec $@ |