-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (34 loc) · 1.07 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
gomoore-hunter:
#build: .
image: kibukamusoke/node-hunt3r
ports:
- "1337:1337"
environment:
PORT: 4408
DATABASE_URI: "mongodb://hunt3r:[email protected]:27017/hunt3r"
RUN_AT: "02:44"
POST_URL: "https://a1.go-moore.com/index.php/Services/Campaign_Creation/add_campaign"
SLACKWEBHOOK_URL: "https://hooks.slack.com/services/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"
links:
- mongo
volumes:
- ./data:/cloud
mongo:
image: mongo:3.0.8 # ref. https://github.com/ParsePlatform/parse-server/issues/1913
ports:
- "27018:27017"
volumes_from:
- mongo-data
environment:
MONGODB_USER: "hunt3r"
MONGODB_DATABASE: "hunt3r"
MONGODB_PASS: "hunt3r123"
# command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false --rest --auth"
command: "--smallfiles --logpath=/dev/null --setParameter failIndexKeyTooLong=false"
# ref. http://www.diogogmt.com/running-mongodb-with-docker-and-compose/
mongo-data:
image: mongo
volumes:
- ./db-data:/data/db
command: "--break-mongo"
# vim:set et ts=2 sw=2: