diff --git a/.circleci/config.yml b/.circleci/config.yml index 15248346a..d5e92c928 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -431,17 +431,13 @@ jobs: mkdir -p ~/.ssh touch ~/.ssh/known_hosts echo "github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=" >> ~/.ssh/known_hosts - git clone git@github.com:urbica/martin.git ~/martin - git config advice.detachedHead false - git checkout ed14582a8f5c3e11bfb165f3b012edccd929b479 - name: Checkout + git config --global advice.detachedHead false + git clone --depth 1 --branch v0.13.0 git@github.com:maplibre/martin.git ~/martin + name: Clone martin - restore_cache: keys: - v1-cargo-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} - prepare_workspace - - run: - command: cargo update openssl --precise 0.10.64 - name: Update OpenSSL library due to failed compilation - run: command: | cargo build --release --target x86_64-unknown-linux-gnu diff --git a/.circleci/src/jobs/build_martin.yml b/.circleci/src/jobs/build_martin.yml index 7cfa8cfd7..a33fae7b3 100644 --- a/.circleci/src/jobs/build_martin.yml +++ b/.circleci/src/jobs/build_martin.yml @@ -7,21 +7,17 @@ steps: - run: apt update -y && apt install -y nodejs npm - install_app_toolbelt - run: - name: "Checkout" + name: "Clone martin" command: | mkdir -p ~/.ssh touch ~/.ssh/known_hosts echo "github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=" >> ~/.ssh/known_hosts - git clone git@github.com:urbica/martin.git ~/martin - git config advice.detachedHead false - git checkout ed14582a8f5c3e11bfb165f3b012edccd929b479 + git config --global advice.detachedHead false + git clone --depth 1 --branch v0.13.0 git@github.com:maplibre/martin.git ~/martin - restore_cache: keys: - v1-cargo-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }} - prepare_workspace - - run: - name: "Update OpenSSL library due to failed compilation" - command: cargo update openssl --precise 0.10.64 - run: name: "Build" command: | diff --git a/backend/src/main/resources/config/config.yml b/backend/src/main/resources/config/config.yml index e0b054676..c64d7707b 100644 --- a/backend/src/main/resources/config/config.yml +++ b/backend/src/main/resources/config/config.yml @@ -7,8 +7,8 @@ postgres: user: postgres password: postgres map: - # baseUrl: https://tiles.entitlementcard.app/rpc/physical_stores/{z}/{x}/{y}.pbf - baseUrl: http://localhost:5002/rpc/physical_stores/{z}/{x}/{y}.pbf + # baseUrl: https://tiles.entitlementcard.app/physical_stores/{z}/{x}/{y} + baseUrl: http://localhost:5002/physical_stores/{z}/{x}/{y} geocoding: enabled: false host: nominatim.maps.tuerantuer.org diff --git a/docker-compose.yml b/docker-compose.yml index 53ca33d2e..7cab8e179 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ version: "3.5" services: martin: - image: urbica/martin - command: martin --config /app/config.yaml + image: ghcr.io/maplibre/martin:v0.13.0 + command: --config /app/config.yaml volumes: - ./docker/martin-config.yaml:/app/config.yaml depends_on: @@ -32,6 +32,7 @@ services: - 127.0.0.1:5002:80 volumes: - ./backend/ehrenamtskarte-maplibre-style:/usr/share/nginx/html + - ./docker/map.html:/usr/share/nginx/html/map.html - ./docker/nginx-development.conf:/etc/nginx/conf.d/default.conf depends_on: - martin diff --git a/docker/map.html b/docker/map.html index 1fabe7cc5..835e1304e 100644 --- a/docker/map.html +++ b/docker/map.html @@ -4,8 +4,8 @@