forked from NASA-AMMOS/aerie-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-test.yml
172 lines (170 loc) · 6.81 KB
/
docker-compose-test.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# This compose file is used for end-to-end testing the UI against the Aerie services.
# It assumes the main Aerie repository has been cloned into this repo as a sub-directory called 'aerie'.
# See .github/workflows/test.yml for how this file is utilized.
version: '3.7'
services:
aerie_gateway:
container_name: aerie_gateway
depends_on: ['postgres']
environment:
AUTH_TYPE: none
GQL_API_URL: http://localhost:8080/v1/graphql
HASURA_GRAPHQL_JWT_SECRET: '${HASURA_GRAPHQL_JWT_SECRET}'
LOG_FILE: console
LOG_LEVEL: debug
NODE_TLS_REJECT_UNAUTHORIZED: '0'
PORT: 9000
POSTGRES_AERIE_MERLIN_DB: aerie_merlin
POSTGRES_AERIE_SCHEDULER_DB: aerie_scheduler
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: '${AERIE_PASSWORD}'
POSTGRES_PORT: 5432
POSTGRES_USER: '${AERIE_USERNAME}'
image: 'ghcr.io/nasa-ammos/aerie-gateway:develop'
ports: ['9000:9000']
restart: always
volumes:
- aerie_file_store:/app/files
aerie_merlin:
container_name: aerie_merlin
depends_on: ['postgres']
environment:
MERLIN_DB: 'aerie_merlin'
MERLIN_DB_PASSWORD: '${AERIE_PASSWORD}'
MERLIN_DB_PORT: 5432
MERLIN_DB_SERVER: postgres
MERLIN_DB_USER: '${AERIE_USERNAME}'
MERLIN_LOCAL_STORE: /usr/src/app/merlin_file_store
MERLIN_PORT: 27183
MERLIN_USE_NEW_CONSTRAINT_PIPELINE: 'true'
JAVA_OPTS: >
-Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
-Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=INFO
-Dorg.slf4j.simpleLogger.logFile=System.err
UNTRUE_PLAN_START: '2000-01-01T11:58:55.816Z'
image: 'ghcr.io/nasa-ammos/aerie-merlin:develop'
ports: ['27183:27183']
restart: always
volumes:
- aerie_file_store:/usr/src/app/merlin_file_store
aerie_merlin_worker:
container_name: aerie_merlin_worker
depends_on: ['postgres']
environment:
MERLIN_WORKER_DB: 'aerie_merlin'
MERLIN_WORKER_DB_PASSWORD: '${AERIE_PASSWORD}'
MERLIN_WORKER_DB_PORT: 5432
MERLIN_WORKER_DB_SERVER: postgres
MERLIN_WORKER_DB_USER: '${AERIE_USERNAME}'
MERLIN_WORKER_LOCAL_STORE: /usr/src/app/merlin_file_store
JAVA_OPTS: >
-Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
-Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=INFO
-Dorg.slf4j.simpleLogger.logFile=System.err
UNTRUE_PLAN_START: '2000-01-01T11:58:55.816Z'
image: 'ghcr.io/nasa-ammos/aerie-merlin-worker:develop'
ports: ['27187:8080']
restart: always
volumes:
- aerie_file_store:/usr/src/app/merlin_file_store:ro
aerie_scheduler:
container_name: aerie_scheduler
depends_on: ['aerie_merlin', 'postgres']
environment:
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
MERLIN_GRAPHQL_URL: http://hasura:8080/v1/graphql
SCHEDULER_DB: 'aerie_scheduler'
SCHEDULER_DB_PASSWORD: '${AERIE_PASSWORD}'
SCHEDULER_DB_PORT: 5432
SCHEDULER_DB_SERVER: postgres
SCHEDULER_DB_USER: '${AERIE_USERNAME}'
SCHEDULER_PORT: 27185
JAVA_OPTS: >
-Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
-Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=INFO
-Dorg.slf4j.simpleLogger.logFile=System.err
image: 'ghcr.io/nasa-ammos/aerie-scheduler:develop'
ports: ['27185:27185']
restart: always
volumes:
- aerie_file_store:/usr/src/app/merlin_file_store
aerie_scheduler_worker:
container_name: aerie_scheduler_worker
depends_on: ['postgres']
environment:
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
MERLIN_GRAPHQL_URL: http://hasura:8080/v1/graphql
MERLIN_LOCAL_STORE: /usr/src/app/merlin_file_store
SCHEDULER_OUTPUT_MODE: UpdateInputPlanWithNewActivities
SCHEDULER_RULES_JAR: /usr/src/app/merlin_file_store/scheduler_rules.jar
SCHEDULER_WORKER_DB: 'aerie_scheduler'
SCHEDULER_WORKER_DB_PASSWORD: '${AERIE_PASSWORD}'
SCHEDULER_WORKER_DB_PORT: 5432
SCHEDULER_WORKER_DB_SERVER: postgres
SCHEDULER_WORKER_DB_USER: '${AERIE_USERNAME}'
JAVA_OPTS: >
-Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=INFO
-Dorg.slf4j.simpleLogger.logFile=System.err
image: 'ghcr.io/nasa-ammos/aerie-scheduler-worker:develop'
ports: ['27189:8080']
restart: always
volumes:
- aerie_file_store:/usr/src/app/merlin_file_store:ro
aerie_sequencing:
container_name: aerie_sequencing
depends_on: ['postgres']
environment:
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
LOG_FILE: console
LOG_LEVEL: debug
MERLIN_GRAPHQL_URL: http://hasura:8080/v1/graphql
SEQUENCING_DB: aerie_sequencing
SEQUENCING_DB_PASSWORD: '${AERIE_PASSWORD}'
SEQUENCING_DB_PORT: 5432
SEQUENCING_DB_SERVER: postgres
SEQUENCING_DB_USER: '${AERIE_USERNAME}'
SEQUENCING_LOCAL_STORE: /usr/src/app/sequencing_file_store
SEQUENCING_SERVER_PORT: 27184
image: 'ghcr.io/nasa-ammos/aerie-sequencing:develop'
ports: ['27184:27184']
restart: always
volumes:
- aerie_file_store:/usr/src/app/sequencing_file_store
hasura:
container_name: aerie_hasura
depends_on: ['postgres']
environment:
AERIE_MERLIN_DATABASE_URL: 'postgres://${AERIE_USERNAME}:${AERIE_PASSWORD}@postgres:5432/aerie_merlin'
AERIE_MERLIN_URL: 'http://aerie_merlin:27183'
AERIE_SCHEDULER_DATABASE_URL: 'postgres://${AERIE_USERNAME}:${AERIE_PASSWORD}@postgres:5432/aerie_scheduler'
AERIE_SCHEDULER_URL: 'http://aerie_scheduler:27185'
AERIE_SEQUENCING_DATABASE_URL: 'postgres://${AERIE_USERNAME}:${AERIE_PASSWORD}@postgres:5432/aerie_sequencing'
AERIE_SEQUENCING_URL: 'http://aerie_sequencing:27184'
AERIE_UI_DATABASE_URL: 'postgres://${AERIE_USERNAME}:${AERIE_PASSWORD}@postgres:5432/aerie_ui'
HASURA_GRAPHQL_ADMIN_SECRET: '${HASURA_GRAPHQL_ADMIN_SECRET}'
HASURA_GRAPHQL_DEV_MODE: 'true'
HASURA_GRAPHQL_ENABLE_CONSOLE: 'true'
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_JWT_SECRET: '${HASURA_GRAPHQL_JWT_SECRET}'
HASURA_GRAPHQL_LOG_LEVEL: info
HASURA_GRAPHQL_METADATA_DATABASE_URL: 'postgres://${AERIE_USERNAME}:${AERIE_PASSWORD}@postgres:5432/aerie_hasura'
HASURA_GRAPHQL_METADATA_DIR: /hasura-metadata
image: 'ghcr.io/nasa-ammos/aerie-hasura:develop'
ports: ['8080:8080']
restart: always
postgres:
container_name: aerie_postgres
environment:
AERIE_PASSWORD: '${AERIE_PASSWORD}'
AERIE_USERNAME: '${AERIE_USERNAME}'
POSTGRES_DB: postgres
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
POSTGRES_USER: '${POSTGRES_USER}'
image: 'ghcr.io/nasa-ammos/aerie-postgres:develop'
ports: ['5432:5432']
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
aerie_file_store:
postgres_data: