forked from javandres/gtfs_editor_ibi_datatools_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
77 lines (69 loc) · 1.66 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# docker-compose build && docker-compose up
version: "3"
networks:
napote:
volumes:
datatools_postgis:
datatools_postgis_dbbackups:
services:
datatools-lighthttpd:
container_name: datatools-lighthttpd
build:
context: ./datatools-ui/
networks:
- napote
links:
- datatools-server
depends_on:
- datatools-server
ports:
- "8888:80"
datatools-server:
container_name: datatools-server
build: ./datatools-server/
environment:
- AWS_REGION=us-west-2
networks:
- napote
links:
- datatools-mongodb:mongo
- datatools-postgis:postgis
depends_on:
- datatools-mongodb
- datatools-postgis
ports:
- "4000:4000"
datatools-mongodb:
container_name: datatools-mongodb
image: mongo:latest
networks:
- napote
ports:
- "127.0.0.1:27117:27117"
command: mongod --dbpath /data/db --nojournal --oplogSize 16 --noauth --port 27117
# datatools-lighthttpd:
# container_name: datatools-lighthttpd
# build: ./nginx/
# networks:
# - napote
# links:
# - datatools-server
# - datatools-ui
# ports:
# - "8089:8888"
datatools-postgis:
container_name: datatools-postgis
image: kartoza/postgis:9.6-2.4
volumes:
- datatools_postgis:/var/lib/postgresql
- datatools_postgis_dbbackups:/backups
environment:
- POSTGRES_DB=gtfs_storage_db
- POSTGRES_USER=postgres
- POSTGRES_PASS=postgres
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting
networks:
- napote
ports:
- "127.0.0.1:5432:5432"