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
18 lines
308 B
Bash
Executable File
18 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set +e
|
|
echo "Trying to generate openapi.yml"
|
|
cd /pygeoapi
|
|
|
|
pygeoapi generate_openapi_document -c local.config.yml > openapi.yml
|
|
|
|
if [ $? -ne 0 ] ; then
|
|
echo "openapi.yml couldnt be generate ERROR, but carry on"
|
|
else
|
|
echo "openapi.yml generated continue to pygeoapi"
|
|
fi
|
|
|
|
pygeoapi serve
|
|
|
|
|