-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (56 loc) · 1.24 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
49
50
51
52
53
54
55
56
version: '3'
volumes:
postgres_data:
wdqs_data:
services:
mapshaper:
image: crazycapivara/docker-mapshaper
ports:
- "5555"
networks:
- wdqs_conn
osmregions:
build: https://github.com/nickpeihl/osm-regions-server.git#dockerize
ports:
- "9978"
networks:
- postgres_conn
- wdqs_conn
env_file: .env
wdqs:
build: https://github.com/nickpeihl/wikidata-query-rdf.git#dockerize
volumes:
- wdqs_data:/opt/wdqs
ports:
- "9999"
networks:
- wdqs_conn
postgres:
image: "openmaptiles/postgis:2.9"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- postgres_conn
ports:
- "5432"
env_file: .env
web:
build: https://github.com/nickpeihl/wikidata-query-gui.git#dockerize
ports:
- "80"
networks:
- wdqs_conn
proxy:
image: nginx
volumes:
- ./sophox.template:/etc/nginx/conf.d/sophox.template
ports:
- "8080:80"
networks:
- wdqs_conn
- postgres_conn
command: sh -c "envsubst '$$NGINX_HOST $$NGINX_PORT' < /etc/nginx/conf.d/sophox.template > /etc/nginx/conf.d/default.conf && nginx-debug -g 'daemon off;'"
env_file: .env
networks:
postgres_conn:
wdqs_conn: