pg_featureserv use custom config file from docker run

Im trying to spin up a docker image of pg_featureserv and use a local config file but I am having no luck with it. following this guide for it https://access.crunchydata.com/documentation/pg_featureserv/1.2.0/installation/installing/ My command sudo docker run -e DATABASE_URL=myconnection -e config=/home/name/Documents/freelance_map/map/pg_featureserv.toml -p 9000:9000 pramsey/pg_featureserv it starts up but it reads from the default config time="2022-01-15T04:02:19Z" level=info msg="—- […]

By ziggy
Published
Categorised as docker, postgis Tagged ,

docker apache site without port

My 1st real site developemnt so bear with me. I have a yml file that I use to spin up with docker-compose. This is run on a digital ocean droplet and the sitename is linked to it version: "3.2" services: httpd: image: httpd:2.4.46-alpine ports: – 8080:80 volumes: – type: bind source: ./main/ target: /usr/local/apache2/htdocs/ the […]

By ziggy
Published
Categorised as apache, docker Tagged ,

tegola tileserver using docker

Having a really tough time getting tegola up and running with docker I’m following these directions https://github.com/kartta-labs/Project/blob/master/Dockerfile-tegola created a config file and this is my command sudo docker run -v /docker-config/config.toml:/opt/tegola_config -p 8080 tegola serve error 2021-11-11 21:02:37 [INFO] root.go:63: Loading config file: config.toml 2021-11-11 21:02:37 [INFO] config.go:309: loading local config (config.toml) Error: config file […]

By ziggy
Published
Categorised as docker, mbtiles, vector-tiles Tagged , ,

Docker compose from a yml postgres database url error

Docker .yml file version: "3" services: pg_tileserv: image: pramsey/pg_tileserv ports: – "7800:7800" environment: – DATABASE_URL=postgresql://postgres:[email protected]:5432/dbname I run docker-compose -f pg_compose.yml up –remove-orphans and I get this error Removing orphan container "map_httpd_1" Starting map_pg_tileserv_1 … done Attaching to map_pg_tileserv_1 pg_tileserv_1 | time="2021-08-27T14:59:36Z" level=info msg="pg_tileserv latest" pg_tileserv_1 | time="2021-08-27T14:59:36Z" level=info msg="Run with –help parameter for commandline options" […]

By ziggy
Published
Categorised as docker, docker-compose, postgresql Tagged , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq