This document provides detailed information about environment variables for each service in Aerie.
Name |
Description |
Type |
Default |
LOG_FILE |
Either an output filepath to log to, or 'console' |
string |
console |
LOG_LEVEL |
Logging level for filtering logs |
string |
warn |
MERLIN_GRAPHQL_URL |
URI of the Aerie GraphQL API |
string |
http://hasura:8080/v1/graphql |
COMMANDING_SERVER_PORT |
Port the server listens on |
number |
27184 |
COMMANDING_DB |
Name of Commanding Postgres database |
string |
aerie_commanding |
COMMANDING_DB_SERVER |
Hostname of Postgres instance |
string |
|
COMMANDING_DB_PASSWORD |
Password of Postgres instance |
string |
|
COMMANDING_DB_PORT |
Port of Postgres instance |
number |
5432 |
COMMANDING_DB_USER |
User of Postgres instance |
string |
|
COMMANDING_LOCAL_STORE |
Local storage file storage in the container |
string |
/usr/src/app/commanding_file_store |
Name |
Description |
Type |
Default |
GQL_API_URL |
URL of GraphQL API for the GraphQL Playground. |
string |
http://localhost:8080/v1/graphql |
LOG_FILE |
Either an output filepath to log to, or 'console'. |
string |
console |
LOG_LEVEL |
Logging level for filtering logs. |
string |
warn |
PORT |
Port the Gateway server listens on. |
number |
9000 |
POSTGRES_AERIE_MERLIN_DB |
Name of Merlin Postgres database. |
string |
aerie_merlin |
POSTGRES_HOST |
Hostname of Postgres instance. |
string |
localhost |
POSTGRES_PASSWORD |
Password of Postgres instance. |
string |
|
POSTGRES_PORT |
Port of Postgres instance. |
number |
5432 |
POSTGRES_USER |
User of Postgres instance. |
string |
|
RATE_LIMITER_FILES_MAX |
Max requests allowed every 15 minutes to file endpoints |
number |
1000 |
RATE_LIMITER_LOGIN_MAX |
Max requests allowed every 15 minutes to login endpoints |
number |
1000 |
Name |
Description |
Type |
Default |
JAVA_OPTS |
Configuration for Merlin's logging level and output file |
string |
log level: warn. output: stderr |
MERLIN_PORT |
Port number for the Merlin server |
number |
27183 |
MERLIN_LOCAL_STORE |
Local storage for Merlin in the container |
string |
/usr/src/app/merlin_file_store |
MERLIN_DB_SERVER |
The DB instance that Merlin will connect with |
string |
|
MERLIN_DB_PORT |
The DB instance port number that Merlin will connect with |
number |
5432 |
MERLIN_DB_USER |
Username of the DB instance |
string |
|
MERLIN_DB_PASSWORD |
Password of the DB instance |
string |
|
MERLIN_DB |
The DB for Merlin. |
string |
aerie_merlin |
UNTRUE_PLAN_START |
Temporary solution to provide plan start time to models, should be set to a time that models will not fail to initialize on |
string |
|
Name |
Description |
Type |
Default |
JAVA_OPTS |
Configuration for Merlin's logging level and output file |
string |
log level: warn. output: stderr |
MERLIN_WORKER_LOCAL_STORE |
The local storage as for the Merlin container |
string |
/usr/src/app/merlin_file_store |
MERLIN_WORKER_DB_SERVER |
The DB instance that Merlin will connect with |
string |
(this must the same as the Merlin container) |
MERLIN_WORKER_DB_PORT |
The DB instance port number that Merlin will connect with |
number |
(this must the same as the Merlin container) |
MERLIN_WORKER_DB_USER |
Username of the DB instance |
string |
(this must the same as the Merlin container) |
MERLIN_WORKER_DB_PASSWORD |
Password of the DB instance |
string |
(this must the same as the Merlin container) |
MERLIN_WORKER_DB |
The DB for Merlin. |
string |
(this must the same as the Merlin container) |
UNTRUE_PLAN_START |
Temporary solution to provide plan start time to models, should be set to a time that models will not fail to initialize on |
string |
|
Name |
Description |
Type |
Default |
JAVA_OPTS |
Configuration for the scheduler's logging level and output file |
string |
log level: warn. output: stderr |
MERLIN_GRAPHQL_URL |
URI of the Merlin graphql interface to call |
string |
http://hasura:8080/v1/graphql |
MERLIN_LOCAL_STORE |
Local storage for Merlin in the container (for backdoor jar access) |
string |
/usr/src/app/merlin_file_store |
SCHEDULER_DB |
The DB for scheduler |
string |
aerie_scheduler |
SCHEDULER_DB_PASSWORD |
Password of the DB instance |
string |
|
SCHEDULER_DB_PORT |
The DB instance port number that scheduler will connect with |
number |
5432 |
SCHEDULER_DB_SERVER |
The DB instance that scheduler will connect with |
string |
|
SCHEDULER_DB_USER |
Username of the DB instance |
string |
|
SCHEDULER_LOCAL_STORE |
Local storage for scheduler in the container |
string |
/usr/src/app/scheduler_file_store |
SCHEDULER_LOGGING |
Whether or not you want Javalin to log server information |
string |
true |
SCHEDULER_OUTPUT_MODE |
how scheduler output is sent back to aerie |
string |
UpdateInputPlanWithNewActivities |
SCHEDULER_PORT |
Port number for the scheduler server |
number |
27185 |
SCHEDULER_RULES_JAR |
Jar file to load scheduling rules from (until user input to database) |
string |
/usr/src/app/merlin_file_store/scheduler_rules.jar |
Name |
Description |
Type |
Default |
ORIGIN |
Url of where the UI is served from. See the Svelte Kit Adapter Node docs. |
string |
http://localhost |
PUBLIC_GATEWAY_CLIENT_URL |
Url of the Gateway as called from the client (i.e. web browser) |
string |
http://localhost:9000 |
PUBLIC_GATEWAY_SERVER_URL |
Url of the Gateway as called from the server (i.e. Node.js container) |
string |
http://localhost:9000 |
PUBLIC_HASURA_CLIENT_URL |
Url of Hasura as called from the client (i.e. web browser) |
string |
http://localhost:8080/v1/graphql |
PUBLIC_HASURA_SERVER_URL |
Url of Hasura as called from the server (i.e. Node.js container) |
string |
http://localhost:8080/v1/graphql |
PUBLIC_HASURA_WEB_SOCKET_URL |
Url of Hasura called to establish a web-socket connection from the client |
string |
ws://localhost:8080/v1/graphql |
Name |
Description |
Type |
AERIE_MERLIN_DATABASE_URL |
Url of the Merlin Postgres database. |
string |
AERIE_SCHEDULER_DATABASE_URL |
Url of the scheduler Postgres database. |
string |
AERIE_UI_DATABASE_URL |
Url of the UI Postgres database |
string |
Additionally, Hasura provides documentation on it's own environment variables you can use to fine-tune your deployment:
- graphql-engine
- metadata and migrations
The default Aerie deployment uses the default Postgres environment. See the Docker Postgres documentation for more complete information on those environment variables and how to use them.