forked from SINTEF-9012/SINDIT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
94 lines (87 loc) · 2.15 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '2.4'
networks:
# Required for the devcontainer
sindit_network:
name: sindit_network
services:
sindit_influx_db:
extends:
file: docker-compose.databases.yml
service: sindit_influx_db
networks:
- sindit_network
ports:
- '8087:8086'
sindit_neo4j_kg:
extends:
file: docker-compose.databases.yml
service: sindit_neo4j_kg
networks:
- sindit_network
ports:
- 7475:7474
- 7688:7687
sindit_minio_s3:
extends:
file: docker-compose.databases.yml
service: sindit_minio_s3
networks:
- sindit_network
ports:
- "9000:9000"
- "9097:9099"
sindit_dt_backend:
image: ghcr.io/sintef-9012/sindit:latest
hostname: sindit-dt-backend
container_name: sindit_dt_backend
mem_limit: 2G
env_file:
- "environment_and_configuration/deployment_environment_backend.env"
ports:
- 8000:8000
networks:
- sindit_network
depends_on:
sindit_influx_db:
condition: service_healthy
sindit_neo4j_kg:
condition: service_healthy
healthcheck:
test: curl localhost:8000/status
interval: 30s
timeout: 60s
retries: 500
entrypoint: python dt_backend.py
extra_hosts:
- "host.docker.internal:host-gateway"
sindit_dt_frontend:
image: ghcr.io/sintef-9012/sindit:latest
hostname: sindit-dt-frontend
container_name: sindit_dt_frontend
mem_limit: 2G
env_file:
- "environment_and_configuration/deployment_environment_frontend.env"
ports:
- 8050:8050
networks:
- sindit_network
depends_on:
sindit_influx_db:
condition: service_healthy
sindit_neo4j_kg:
condition: service_healthy
sindit_dt_backend:
condition: service_healthy
healthcheck:
test: curl localhost:8050
interval: 30s
timeout: 60s
retries: 500
entrypoint: gunicorn dt_frontend:server -b :8050 --timeout 1800 --workers 4
volumes:
sindit-minio-s3-volume:
sindit-neo4j-conf-volume:
sindit-neo4j-logs-volume:
sindit-neo4j-data-volume:
sindit-influx-db-data-volume:
sindit-influx-db-config-volume: