-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.28 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
# Database Server
# Software: PostGreSQL
# You can reconfigure the port in case you
db:
image: postgres
volumes:
- .:/dat
ports:
- "5434:5432"
environment:
- dummy:dummy
- http_proxy:http://proxy.pfr.co.nz:8080
- https_proxy:http://proxy.pfr.co.nz:8080
- no_proxy:localhost,127.0.0.1,*.pfr.co.nz,::1
# cassandra:
# image: cassandra
# ports:
# - "7000:7000"
# environment:
# - dummy:dummy
# - http_proxy:http://proxy.pfr.co.nz:8080
# - https_proxy:http://proxy.pfr.co.nz:8080
# - no_proxy:web,localhost,127.0.0.1,*.pfr.co.nz,::1
mongo:
build: .
dockerfile: Dockerfile_mongo
ports:
- "27018:27017"
environment:
- dummy:dummy
- http_proxy:http://proxy.pfr.co.nz:8080
- https_proxy:http://proxy.pfr.co.nz:8080
- no_proxy:localhost,127.0.0.1,*.pfr.co.nz,::1
web:
build: .
dockerfile: Dockerfile_web
command: python manage.py runserver 0.0.0.0:80
volumes:
- .:/code
#- /input:/input
- /Users/cfphxd/output:/output
#- /workspace:/workspace
ports:
- "8001:80"
links:
- db
- mongo
environment:
- dummy:dummy
- http_proxy:http://proxy.pfr.co.nz:8080
- https_proxy:http://proxy.pfr.co.nz:8080
- no_proxy:localhost,127.0.0.1,*.pfr.co.nz,::1