forked from Yuntaz/docker-idol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (61 loc) · 1.43 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
# All Rights Reserved
# This software is proprietary information of
# Akurey
# Use is subject to license terms.
# Filename: docker-compose.yml
#/
#
# Author: [email protected]
# Date: 21/08/2017
# Description: This docker compose is used to deploy the enviornment with mongo and the idol server.
#To run first do a docker-compose build
#Then docker-compose run --service-ports idol_server mongodb
version : "3.2"
services:
idol_server:
build :
context: ./
dockerfile: Dockerfile.idol
ports:
- "7000:7000"
- "17000:17000"
- "7025:7025"
- "17025:17025"
- "7026:7026"
- "17026:17026"
- "7027:7027"
- "17027:17027"
- "7028:7028"
- "17028:17028"
- "7029:7029"
- "17029:17029"
- "9020:9020"
- "9022:9022"
- "9030:9030"
- "9050:9050"
- "9080:9080"
- "9100:9100"
- "9101:9101"
- "9102:9102"
- "8080:8080"
- "20000:20000"
- "13000:13000"
- "13002:13002"
- "8000:8000"
volumes:
- ".:/poc_api"
links:
- "mongodb"
depends_on:
- "mongodb"
mongodb:
image: mongo:latest
container_name: "mongodb"
environment:
- "MONGO_DATA_DIR=/data/db"
- "MONGO_LOG_DIR=/dev/null"
volumes:
- "./data/db:/data/db"
ports:
- "27017:27017"
command: mongod --smallfiles --logpath=/dev/null # --quiet