Skip to content

Commit

Permalink
Add workflow upstream configuration to Nginx and update docker-compos…
Browse files Browse the repository at this point in the history
…e variables
  • Loading branch information
simlarsen committed Sep 18, 2024
1 parent 94f0446 commit 8d95d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ upstream worker {
server ${SERVER_WORKER_HOSTNAME}:${WORKER_PORT} weight=10 max_fails=3 fail_timeout=30s;
}

upstream workflow {
server ${SERVER_WORKFLOW_HOSTNAME}:${WORKFLOW_PORT} weight=10 max_fails=3 fail_timeout=30s;
}

upstream home {
server ${SERVER_HOME_HOSTNAME}:${HOME_PORT} weight=10 max_fails=3 fail_timeout=30s;
}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ x-common-variables: &common-variables
SERVER_ISOLATED_VM_HOSTNAME: isolated-vm
SERVER_WORKER_HOSTNAME: worker
SERVER_HOME_HOSTNAME: home
SERVER_WORKFLOW_HOSTNAME: workflow

#Ports. Usually they don't need to change.
APP_PORT: ${APP_PORT}
Expand All @@ -49,6 +50,7 @@ x-common-variables: &common-variables
ADMIN_DASHBOARD_PORT: ${ADMIN_DASHBOARD_PORT}
ISOLATED_VM_PORT: ${ISOLATED_VM_PORT}
WORKER_PORT: ${WORKER_PORT}
WORKFLOW_PORT: ${WORKFLOW_PORT}

OPENTELEMETRY_EXPORTER_OTLP_ENDPOINT: ${OPENTELEMETRY_EXPORTER_OTLP_ENDPOINT}
OPENTELEMETRY_EXPORTER_OTLP_HEADERS: ${OPENTELEMETRY_EXPORTER_OTLP_HEADERS}
Expand Down

0 comments on commit 8d95d02

Please sign in to comment.