upgrade osm-tile-server
This commit is contained in:
parent
80a3b4c8f5
commit
bb1cf507ec
1 changed files with 9 additions and 9 deletions
|
@ -2,11 +2,11 @@ version: '3'
|
|||
|
||||
services:
|
||||
db:
|
||||
image: postgres:13-alpine
|
||||
image: postgres:16
|
||||
volumes:
|
||||
- "./data/db/pgdata:/var/lib/postgresql/data/"
|
||||
env_file:
|
||||
- ./.env.prod
|
||||
- ./.env
|
||||
restart: always
|
||||
networks:
|
||||
- internal
|
||||
|
@ -15,7 +15,7 @@ services:
|
|||
#volumes:
|
||||
# - "./data/dbadmin:/var/lib/pgadmin"
|
||||
env_file:
|
||||
- ./.env.prod
|
||||
- ./.env
|
||||
restart: always
|
||||
networks:
|
||||
- internal
|
||||
|
@ -24,28 +24,28 @@ services:
|
|||
flask:
|
||||
build:
|
||||
context: ./flask
|
||||
dockerfile: Dockerfile.prod
|
||||
dockerfile: Dockerfile
|
||||
command: gunicorn --bind 0.0.0.0:5000 manage:app
|
||||
expose:
|
||||
- 5000
|
||||
env_file:
|
||||
- ./.env.prod
|
||||
- ./.env
|
||||
networks:
|
||||
- internal
|
||||
depends_on:
|
||||
- db
|
||||
osmtile:
|
||||
image: "overv/openstreetmap-tile-server:latest"
|
||||
image: overv/openstreetmap-tile-server:2.3.0
|
||||
hostname: osmtile
|
||||
environment:
|
||||
- "DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf"
|
||||
- "DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly"
|
||||
volumes:
|
||||
- "./data/osmtile/pgdata:/var/lib/postgresql/12/main"
|
||||
- "./data/osmtile:/data/database/
|
||||
command: "run"
|
||||
#command: "import"
|
||||
networks:
|
||||
- internal
|
||||
#entrypoint: "/run.sh import"
|
||||
#entrypoint: "/run.sh run"
|
||||
restart: always
|
||||
networks:
|
||||
internal: {}
|
||||
|
|
Loading…
Reference in a new issue