-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
executable file
·48 lines (44 loc) · 1.03 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
40
41
42
43
44
45
46
47
48
version: '3'
services:
geoserver:
image: 'geotekne/geoserver:lime-alpine-2.16.2'
hostname: geoserver
env_file:
- ./geoserver.env
ports:
- "8080:8080"
volumes:
- './data/geoserver/data_dir/:/var/local/geoserver'
depends_on:
- postgis
restart: on-failure
wmsclient:
image: 'nginx:1.21.3-alpine'
hostname: wmsclient
volumes:
- './data/nginx/html:/usr/share/nginx/html'
ports:
- "80:80"
restart: on-failure
postgis:
image: 'kartoza/postgis:12.1'
hostname: postgis
container_name: osm-geoserver-postgis_postgis
env_file:
- ./postgis.env
volumes:
- 'pgdata:/var/lib/postgresql'
expose:
- '5432'
restart: on-failure
imposm-worker:
image: 'geotekne/imposm-worker:1.0.0'
hostname: imposm-worker
environment:
- PARAMETERS=-i /pbfs -c osm-geoserver-postgis_postgis -v 12.1 -p 5432 -u docker -w docker -d gis
volumes:
- './pbfs/:/pbfs'
depends_on:
- postgis
volumes:
pgdata: