Skip to content

Instantly share code, notes, and snippets.

@mushinlogit
Last active September 18, 2017 14:39
Show Gist options
  • Save mushinlogit/8c2064f5480999999c32ad844c6c5333 to your computer and use it in GitHub Desktop.
Save mushinlogit/8c2064f5480999999c32ad844c6c5333 to your computer and use it in GitHub Desktop.
processor compose
version: '2'
services:
unfetter-discover-processor:
build: ../unfetter-store/unfetter-discover-processor
container_name: unfetter-discover-processor
image: unfetter-discover-processor
volumes:
- ./config/examples:/tmp/examples
- ../unfetter-store/unfetter-discover-processor:/usr/src/app
environment:
- MONGO_HOST=repository
entrypoint:
- node
- processor.js
- --stix
- /tmp/examples/mitre-attack-cis/stix.json
- --enhanced-stix-properties
- /tmp/examples/unfetter-db/stix-enhancements.json
- --config
- /tmp/examples/unfetter-db/config.json
depends_on:
- cti-stix-store-repository
links:
- cti-stix-store-repository:repository
cti-stix-store-repository:
image: mongo:3.4.1
container_name: cti-stix-store-repository
ports:
- "27018:27017"
volumes:
- ./data/db:/data/db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment