-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
137 lines (132 loc) · 4.01 KB
/
docker-compose.yaml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
version: "3.9"
include:
- docker/docker-compose-base.yml
- docker/docker-compose-common.yml
- docker/docker-compose-sim-services.yml
- docker/docker-compose-keycloak.yml
services:
hmi-server:
image: ghcr.io/darpa-askem/hmi-server:latest
container_name: hmi-server
ports:
- "3000:3000"
healthcheck:
test:
[
"CMD",
"curl",
"--head",
"0.0.0.0:3000/actuator/health"
]
interval: "3s"
timeout: "3s"
retries: 30
environment:
ADOBE_API-KEY: ""
AWS_ACCESS_KEY_ID: "admin"
AWS_SECRET_ACCESS_KEY: "admin123"
AWS_URL: "http://minio:9000"
CIEMSS-SERVICE_URL: "http://pyciemss-service:8000"
GOOGLE-ANALYTICS-ID: ""
SIMULATION-SERVICE_URL: "http://sciml-service:8080"
SPICEDB_LAUNCHMODE: "PLAINTEXT"
SPICEDB_SHARED-KEY: "dev"
SPICEDB_TARGET: "spicedb:50051"
SPRING_DATASOURCE_INITIALIZE: true
SPRING_DATASOURCE_URL: "jdbc:postgresql://postgres:5432/terarium"
SPRING_DATA_REDIS_URL: "redis://redis:6379"
SPRING_JPA_HIBERNATE_DDL-AUTO: "update"
SPRING_NEO4J_AUTHENTICATION_PASSWORD: "password"
SPRING_NEO4J_AUTHENTICATION_USERNAME: "neo4j"
SPRING_NEO4J_URI: "bolt://neo4j:7687"
SPRING_PROFILES_ACTIVE: "default"
SPRING_RABBITMQ_ADDRESSES: "amqp://rabbitmq:5672"
SPRING_RABBITMQ_PASSWORD: "terarium123"
SPRING_RABBITMQ_USERNAME: "terarium"
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_KEYCLOAK_ISSUER-URI: "http://keycloak:8081/realms/Terarium"
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT-ID: "app"
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER-URI: "http://keycloak:8081/realms/Terarium"
TERARIUM_DB_PASSWORD: "postgres"
TERARIUM_DB_USERNAME: "postgres"
TERARIUM_ELASTICSEARCH_AUTH-ENABLED: false
TERARIUM_ELASTICSEARCH_URL: "http://elasticsearch:9200"
TERARIUM_FILE-STORAGE-S3-BUCKET-NAME: "askem-local-storage"
TERARIUM_KEYCLOAK_ADMIN-CLIENT-ID: "admin-cli"
TERARIUM_KEYCLOAK_ADMIN-PASSWORD: "admin123"
TERARIUM_KEYCLOAK_ADMIN-REALM: "master"
TERARIUM_KEYCLOAK_ADMIN-USERNAME: "admin"
TERARIUM_KEYCLOAK_CLIENT-ID: "app"
TERARIUM_KEYCLOAK_REALM: "Terarium"
TERARIUM_KEYCLOAK_URL: "http://keycloak:8081"
TERARIUM_MQ-ADDRESSES: "amqp://rabbitmq:5672"
TERARIUM_SWAGGER_SERVER-URL: "http://localhost:3000"
TGPT_APP_URL: ""
TGPT_TOKEN: ""
TGPT_WS_URL: ""
XDD_API-ES-KEY: ""
XDD_API-KEY: ""
depends_on:
postgres:
condition: service_healthy
spicedb:
condition: service_healthy
keycloak:
condition: service_healthy
elasticsearch:
condition: service_healthy
neo4j:
condition: service_healthy
minio:
condition: service_healthy
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
extra_hosts:
- "host.docker.internal:host-gateway"
dashboard:
image: ghcr.io/darpa-askem/integration-dashboard:latest
environment:
- AWS_ACCESS_KEY_ID=none
- AWS_SECRET_ACCESS_KEY=none
- BUCKET=none
- USE_LOCAL=TRUE
ports:
- "8501:8501"
volumes:
- report:/outputs
extra_hosts:
- "host.docker.internal:host-gateway"
tests:
build:
context: .
dockerfile: tests/Dockerfile
environment:
- UPLOAD=FALSE
- BUCKET
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- TDS_URL=http://hmi-server:3000
- TDS_USER=api-service
- TDS_PASSWORD=agent bio terraform
- PROJECT_ID
depends_on:
pyciemss-api:
condition: service_healthy
pyciemss-worker:
condition: service_started
sciml-service:
condition: service_healthy
hmi-server:
condition: service_healthy
volumes:
- report:/outputs
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
report:
elasticsearch-data:
minio-data:
terarium-db:
driver: local