-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.19 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
version: "3"
services:
oteapi:
build:
context: .
dockerfile: Dockerfile
ports:
- "${PORT:-8080}:8080"
environment:
OTEAPI_REDIS_TYPE: redis
OTEAPI_REDIS_HOST: redis
OTEAPI_REDIS_PORT: 6379
OTEAPI_prefix: "${OTEAPI_prefix:-/api/v1}"
OTEAPI_INCLUDE_REDISADMIN: "${OTEAPI_INCLUDE_REDISADMIN:-False}"
OTEAPI_EXPOSE_SECRETS: "${OTEAPI_EXPOSE_SECRETS:-True}"
OTEAPI_PLUGIN_PACKAGES: "oteapi-dlite"
OTEAPI_AUTHENTICAION_DEPENDENCIES:
DLITE_STORAGES: "/datamodels"
DLITE_PYTHON_STORAGE_PLUGIN_DIRS: "/plugins"
DLITE_PYDEBUG: ""
depends_on:
- redis
networks:
- otenet
volumes:
- ./datamodels:/datamodels
- ./plugins:/plugins
- ./outputdir:/outputdir
redis:
image: redis:latest
volumes:
- redis-persist:/data
networks:
- otenet
agraph:
image: franzinc/agraph:v7.2.0
volumes:
- agraph-data:/agraph/data
- ./agraph.cfg:/agraph/etc/agraph.cfg
ports:
- "10000-10035:10000-10035"
restart: on-failure
shm_size: 4g
networks:
- otenet
volumes:
redis-persist:
agraph-data:
networks:
otenet: