-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
39 lines (36 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This docker-compose file creates both an Overscape server, and an Overpass
# server with sample data.
#
# If you just want to run Overscape against a public Overpass server, you only
# need to build and run the overscape container.
version: '3.8'
volumes:
overpass_db:
services:
overpass:
container_name: overpass
image: wiktorn/overpass-api
ports:
- "12345:80"
environment:
# Change this URL to load different data.
- OVERPASS_PLANET_URL=http://download.geofabrik.de/north-america/us/district-of-columbia-latest.osm.bz2
- OVERPASS_META=no
- OVERPASS_MODE=init
- OVERPASS_RULES_LOAD=10
volumes:
- overpass_db:/db
overscape:
container_name: overscape
image: openscape/overscape
build:
dockerfile: Dockerfile
environment:
- BACKEND_URL=http://overpass/api/interpreter
- SENTRY_DSN=$SENTRY_DSN
- SENTRY_TSR=$SENTRY_TSR
ports:
- "8080:8080"
depends_on:
overpass:
condition: service_healthy