-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
39 lines (35 loc) · 810 Bytes
/
compose.yaml
File metadata and controls
39 lines (35 loc) · 810 Bytes
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
services:
oteapi:
image: ghcr.io/emmc-asbl/oteapi:${DOCKER_OTEAPI_VERSION:-latest-dev}
ports:
- "${OTEAPI_PORT:-8080}:8080"
environment:
OTEAPI_REDIS_TYPE: redis
OTEAPI_REDIS_HOST: redis
OTEAPI_REDIS_PORT: 6379
OTEAPI_PREFIX: "${OTEAPI_PREFIX:-/api/v1}"
OTEAPI_PLUGIN_PACKAGES: "-v -e /oteapi-optimade"
depends_on:
- redis
networks:
- otenet
volumes:
- "${PWD}:/oteapi-optimade"
stop_grace_period: 1s
redis:
image: redis:latest
volumes:
- redis-persist:/data
networks:
- otenet
optimade:
image: ghcr.io/materials-consortia/optimade:develop
ports:
- "${OPTIMADE_PORT:-5000}:5000"
networks:
- otenet
stop_grace_period: 1s
volumes:
redis-persist:
networks:
otenet: