Created
January 12, 2020 13:45
-
-
Save PatrickKalkman/effd1940165597207204ceee96d8690d to your computer and use it in GitHub Desktop.
Docker compose file to start the WorkflowEngine and the WorkflowDatabase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
workflowdb: | |
image: 'mongo:4.0.14' | |
container_name: 'workflow-db' | |
environment: | |
- MONGO_INITDB_ROOT_USERNAME=mveroot | |
- MONGO_INITDB_ROOT_PASSWORD=2020minivideoencoder! | |
- MONGO_INITDB_DATABASE=workflow-db | |
volumes: | |
- ./WorkflowDatabase/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro | |
- ./WorkflowDatabase/data/workflow-db.db:/data.db | |
ports: | |
- '27017:27017' | |
networks: | |
- mve-network | |
workflowengine: | |
image: 'workflowengine:0.6.0' | |
container_name: 'workflow-engine' | |
environment: | |
- STORAGE_HOST=mongodb://mve-workflowengine:mve-workflowengine-password@workflowdb:27017/workflow-db?authMechanism=DEFAULT&authSource=workflow-db | |
ports: | |
- '8181:8181' | |
networks: | |
- mve-network | |
networks: | |
mve-network: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment