forked from IQEngine/IQEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
38 lines (37 loc) · 1010 Bytes
/
docker-compose-dev.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
---
version: '3.2'
services:
iqengine:
build:
context: .
image: iqengine:latest
volumes:
- ${IQENGINE_BACKEND_LOCAL_FILEPATH}:/tmp/recordings
# We have to forward the env file env vars to the container
environment:
IN_MEMORY_DB: 0
IQENGINE_CONNECTION_INFO: ${IQENGINE_CONNECTION_INFO}
IQENGINE_FEATURE_FLAGS: ${IQENGINE_FEATURE_FLAGS}
IQENGINE_PLUGINS: '[{"name": "BuiltIn", "url": "plugins:8000"}]'
IQENGINE_METADATA_DB_CONNECTION_STRING: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@mongo:27017
IQENGINE_BACKEND_LOCAL_FILEPATH: /tmp/recordings
depends_on:
- mongo
ports:
- 3000:3000
plugins:
build:
context: plugins
image: plugins:latest
depends_on:
- mongo
ports:
- 8000:8000
mongo:
image: mongo:4.2
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}