-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (35 loc) · 1.12 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
services:
db:
image: postgis/postgis:15-3.4-alpine
container_name: db_demo
command: postgres -c 'max_connections=250'
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cologne_lod2
volumes:
- ./db/cologne_lod2.sql.gz:/docker-entrypoint-initdb.d/cologne_lod2.sql.gz
tmpfs:
- /var/lib/postgresql/data
xtratiler:
image: ghcr.io/ldproxy/xtratiler
container_name: xtratiler_demo
volumes:
- .:/store
# on Linux use localhost, on macOS use host.docker.internal
command: agent -q http://host.docker.internal:7081 -c 8 -r 2
ldproxy:
image: iide/ldproxy:next
container_name: ldproxy_demo
ports:
- "7080:7080"
- "7081:7081"
volumes:
- .:/ldproxy/data
depends_on:
- db
environment:
- EXTERNAL_URL=http://localhost:7080
# Enable the following variable, if the cologne_lod2 data is available in a separate PostgreSQL instance;
# in this case comment out "#/services/db" and "#/services/ldproxy/depends_on";
# on Linux use localhost, on macOS use host.docker.internal
# - DB_HOST=host.docker.internal