-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
47 lines (43 loc) · 907 Bytes
/
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
40
41
42
43
44
45
46
47
services:
pgsqldb:
image: camptocamp/postgres:13-postgis-3
restart: always
networks:
- oim-internal
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=pdm
- POSTGRES_PASSWORD=pgpassword
pdm:
image: pdm/server:latest
restart: always
depends_on:
- pgsqldb
networks:
- oim-internal
ports:
- "3000:3000"
volumes:
- pdm-data:/data/files/pdm
environment:
- DB_URL=postgres://postgres:pgpassword@pgsqldb:5432/pdm
command: "run"
pdm-tileserv:
image: pramsey/pg_tileserv:latest
restart: always
depends_on:
- pgsqldb
networks:
- oim-internal
ports:
- "7800:7800"
environment:
- DATABASE_URL=postgres://postgres:pgpassword@pgsqldb:5432/pdm
volumes:
db-data:
pdm-data:
networks:
oim-internal: