Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Fix URI and tweak entrypoint/cmd

Russ Garrett7e2e08271a71
diff --git a/tegola/Dockerfile b/tegola/Dockerfile
index bc4c343..e938e0b 100644
--- a/tegola/Dockerfile
+++ b/tegola/Dockerfile
@@ -8,4 +8,5 @@ FROM gospatial/tegola:v0.16.0
COPY --from=build /app/config.toml /etc/tegola/config.toml
EXPOSE 80
-ENTRYPOINT ["/opt/tegola", "serve", "--config", "/etc/tegola/config.toml"]
\ No newline at end of file
+ENTRYPOINT ["/opt/tegola"]
+CMD ["serve", "--config", "/etc/tegola/config.toml"]
\ No newline at end of file
diff --git a/tegola/tegola.yml b/tegola/tegola.yml
index 3e7fa19..b05e901 100644
--- a/tegola/tegola.yml
+++ b/tegola/tegola.yml
@@ -8,5 +8,5 @@ cache:
providers:
- name: postgis
type: mvt_postgis
- uri: postgres://osm:osm@postgis/osm?pool_max_conns=20
+ uri: postgres://osm:[email protected]:5432/osm?pool_max_conns=20
srid: 3857
\ No newline at end of file