forked from Netflix/conductor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
154 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,51 @@ | ||
[Docker Instructions](/docs/docs/gettingstarted/docker.md) | ||
# Conductor Docker Builds | ||
|
||
## Pre-built docker images | ||
|
||
Conductor server with support for the following backend: | ||
1. Redis | ||
2. Postgres | ||
3. Mysql | ||
4. Cassandra | ||
|
||
```shell | ||
docker pull docker.orkes.io/conductor:latest | ||
``` | ||
|
||
### Docker File for Server and UI | ||
|
||
[Docker Image Source for Server with UI](serverAndUI/Dockerfile) | ||
|
||
#### Pre-requisites for building | ||
1. [Docker](https://www.docker.com/) | ||
2. [Node](https://nodejs.org/en) | ||
3. [JDK](https://openjdk.org/) | ||
|
||
### Configuration Guide for Conductor Server | ||
Conductor uses a persistent store for managing state. | ||
The choice of backend is quite flexible and can be configured at runtime using `conductor.db.type` property. | ||
|
||
Refer to the table below for various supported backend and required configurations to enable each of them. | ||
|
||
| Backend | Property | Required Configuration | | ||
|------------|------------------------------------|------------------------| | ||
| postgres | conductor.db.type=postgres | | | ||
| redis | conductor.db.type=redis_standalone | | | ||
| mysql | conductor.db.type=mysql | | | ||
| cassandra | conductor.db.type=cassandra | | | ||
|
||
Conductor using Elasticsearch for indexing the workflow data. | ||
Currently, Elasticsearch 6 and 7 are supported. | ||
We welcome community contributions for other indexing backends. | ||
|
||
**Note:** Docker images use Elasticsearch 7. | ||
|
||
### Recommended Configuration for the server | ||
```properties | ||
|
||
``` | ||
|
||
## Helm Charts | ||
TODO: Link to the helm charts | ||
|
||
## Run Docker Compose Locally |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
server { | ||
listen 5000; | ||
server_name conductor; | ||
server_tokens off; | ||
|
||
location / { | ||
add_header Referrer-Policy "strict-origin"; | ||
add_header X-Frame-Options "SAMEORIGIN"; | ||
add_header X-Content-Type-Options "nosniff"; | ||
add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval' assets.orkes.io *.googletagmanager.com *.pendo.io https://cdn.jsdelivr.net; worker-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:;"; | ||
add_header Permissions-Policy "accelerometer=(), autoplay=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), xr-spatial-tracking=(), clipboard-read=(self), clipboard-write=(self), gamepad=(), hid=(), idle-detection=(), serial=(), window-placement=(self)"; | ||
# This would be the directory where your React app's static files are stored at | ||
root /usr/share/nginx/html; | ||
try_files $uri /index.html; | ||
} | ||
|
||
location /api { | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-NginX-Proxy true; | ||
proxy_pass http://localhost:8080/api; | ||
proxy_ssl_session_reuse off; | ||
proxy_set_header Host $http_host; | ||
proxy_cache_bypass $http_upgrade; | ||
proxy_redirect off; | ||
} | ||
|
||
location /actuator { | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-NginX-Proxy true; | ||
proxy_pass http://localhost:8080/actuator; | ||
proxy_ssl_session_reuse off; | ||
proxy_set_header Host $http_host; | ||
proxy_cache_bypass $http_upgrade; | ||
proxy_redirect off; | ||
} | ||
|
||
location /swagger-ui { | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-NginX-Proxy true; | ||
proxy_pass http://localhost:8080/swagger-ui; | ||
proxy_ssl_session_reuse off; | ||
proxy_set_header Host $http_host; | ||
proxy_cache_bypass $http_upgrade; | ||
proxy_redirect off; | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.