From 0d789b883d72364e18e5a2be4aff6f3ae884fc0f Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde Date: Fri, 27 Dec 2019 15:04:21 +0100 Subject: [PATCH] Fix Docker badge URL and update ports in test code --- .travis.yml | 2 +- Makefile | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 86a3eec..59acde1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ script: - docker build --pull --cache-from overv/openstreetmap-tile-server --tag overv/openstreetmap-tile-server . - docker volume create openstreetmap-data - docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main overv/openstreetmap-tile-server import -- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 80:80 -d overv/openstreetmap-tile-server run +- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 8080:80 -d overv/openstreetmap-tile-server run - sleep 30 - make DOCKER_IMAGE=overv/openstreetmap-tile-server stop after_script: diff --git a/Makefile b/Makefile index 4d055e0..e725e62 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ push: build test: build docker volume create openstreetmap-data docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main ${DOCKER_IMAGE} import - docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 80:80 -d ${DOCKER_IMAGE} run + docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 8080:80 -d ${DOCKER_IMAGE} run stop: docker rm -f `docker ps | grep '${DOCKER_IMAGE}' | awk '{ print $$1 }'` || true diff --git a/README.md b/README.md index 3a9c7ca..d757343 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/Overv/openstreetmap-tile-server.svg?branch=master)](https://travis-ci.org/Overv/openstreetmap-tile-server) -[![](https://images.microbadger.com/badges/image/Overv/openstreetmap-tile-server.svg)](https://microbadger.com/images/Overv/openstreetmap-tile-server "openstreetmap-tile-server") +[![](https://images.microbadger.com/badges/image/overv/openstreetmap-tile-server.svg)](https://microbadger.com/images/Overv/openstreetmap-tile-server "openstreetmap-tile-server") This container allows you to easily set up an OpenStreetMap PNG tile server given a `.osm.pbf` file. It is based on the [latest Ubuntu 18.04 LTS guide](https://switch2osm.org/manually-building-a-tile-server-18-04-lts/) from [switch2osm.org](https://switch2osm.org/) and therefore uses the default OpenStreetMap style.