Old tiles.ttss.pl backed using MapProxy
Jacek Kowalski
2020-06-03 d1e1f5e507ac2c01c2633fb026f98f2bdf30271f
commit | author | age
d1e1f5 1 #!/bin/bash -x
JK 2
3 . common.sh
4
5 DOCKER_NAME="${DOCKER_PREFIX}-shapes"
6 DOCKER_IMAGE="${DOCKER_IMAGE_PREFIX}shapes"
7 DOCKER_DIR=shapes
8
9 docker build -t "${DOCKER_IMAGE}" "${DOCKER_DIR}"
10 docker run -i -t \
11     --link "${DOCKER_PREFIX}-postgis:postgres" \
12     -e "POSTGRES_USER=${POSTGRES_USER}" \
13     -e "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}" \
14     -v "${HOST_CARTO_DIR}:/home/map/carto" \
15     --name "${DOCKER_NAME}" \
16     "${DOCKER_IMAGE}"
17
18 docker rm -v "${DOCKER_NAME}"