Compare commits

..

2 Commits

Author SHA1 Message Date
Niels-Ole Lambertz
704480754d simplified PR for immediate issue 2022-04-09 16:39:20 +02:00
Niels-Ole Lambertz
30fb985a66 Pushing tags 2022-04-09 16:20:29 +02:00
3 changed files with 1 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ services:
before_install: before_install:
- echo "Before install" - echo "Before install"
before_script: before_script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker pull overv/openstreetmap-tile-server || true - docker pull overv/openstreetmap-tile-server || true
script: script:
- docker build --pull --cache-from overv/openstreetmap-tile-server --tag overv/openstreetmap-tile-server . - docker build --pull --cache-from overv/openstreetmap-tile-server --tag overv/openstreetmap-tile-server .
@@ -21,7 +22,6 @@ after_success:
- if [[ "$TRAVIS_BRANCH" == "master" ]]; - if [[ "$TRAVIS_BRANCH" == "master" ]];
then then
docker images ; docker images ;
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ;
docker push overv/openstreetmap-tile-server ; docker push overv/openstreetmap-tile-server ;
fi fi
notifications: notifications:

View File

@@ -232,8 +232,6 @@ docker run \
import import
``` ```
Warning: enabling `FLAT_NOTES` together with `UPDATES` only works for entire planet imports (without a `.poly` file). Otherwise this will break the automatic update script. This is because trimming the differential updates to the specific regions currently isn't supported when using flat nodes.
### Benchmarks ### Benchmarks
You can find an example of the import performance to expect with this image on the [OpenStreetMap wiki](https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks#debian_9_.2F_openstreetmap-tile-server). You can find an example of the import performance to expect with this image on the [OpenStreetMap wiki](https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks#debian_9_.2F_openstreetmap-tile-server).

2
run.sh
View File

@@ -42,8 +42,6 @@ fi
if [ "$1" == "import" ]; then if [ "$1" == "import" ]; then
# Ensure that database directory is in right state # Ensure that database directory is in right state
mkdir -p /data/database/postgres/
chown renderer: /data/database/
chown -R postgres: /var/lib/postgresql /data/database/postgres/ chown -R postgres: /var/lib/postgresql /data/database/postgres/
if [ ! -f /data/database/postgres/PG_VERSION ]; then if [ ! -f /data/database/postgres/PG_VERSION ]; then
sudo -u postgres /usr/lib/postgresql/14/bin/pg_ctl -D /data/database/postgres/ initdb -o "--locale C.UTF-8" sudo -u postgres /usr/lib/postgresql/14/bin/pg_ctl -D /data/database/postgres/ initdb -o "--locale C.UTF-8"