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