diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml index a46a75a..08538ef 100644 --- a/backend/docker-compose.yml +++ b/backend/docker-compose.yml @@ -61,9 +61,7 @@ services: - maps-net ports: - "3001:3001" - volumes: - - ./martin.yaml:/martin.yaml:ro - command: ["--config", "/martin.yaml"] + command: ["--listen-addresses", "0.0.0.0:3001"] depends_on: - postgres diff --git a/backend/martin.yaml b/backend/martin.yaml deleted file mode 100644 index 412a9c4..0000000 --- a/backend/martin.yaml +++ /dev/null @@ -1,37 +0,0 @@ -listen_addresses: '0.0.0.0:3001' - -postgres: - connection_string: 'postgres://maps:maps@postgres:5432/maps' - tables: - planet_osm_polygon: - schema: public - table: planet_osm_polygon - srid: 3857 - geometry_column: way - geometry_type: GEOMETRY - minzoom: 0 - maxzoom: 14 - planet_osm_line: - schema: public - table: planet_osm_line - srid: 3857 - geometry_column: way - geometry_type: GEOMETRY - minzoom: 0 - maxzoom: 14 - planet_osm_point: - schema: public - table: planet_osm_point - srid: 3857 - geometry_column: way - geometry_type: GEOMETRY - minzoom: 0 - maxzoom: 14 - planet_osm_roads: - schema: public - table: planet_osm_roads - srid: 3857 - geometry_column: way - geometry_type: GEOMETRY - minzoom: 0 - maxzoom: 14 diff --git a/backend/src/services/martin.rs b/backend/src/services/martin.rs index 881761e..7b73650 100644 --- a/backend/src/services/martin.rs +++ b/backend/src/services/martin.rs @@ -12,7 +12,7 @@ impl MartinService { pub fn new(config: &AppConfig) -> Self { Self { client: reqwest::Client::builder() - .timeout(std::time::Duration::from_secs(10)) + .timeout(std::time::Duration::from_secs(60)) .no_gzip() // Don't decompress; vector_map_tiles expects gzip-compressed MVT .build() .expect("Failed to build HTTP client"),