corrected local site
This commit is contained in:
parent
139043faa2
commit
3224c53ae5
|
@ -2,7 +2,7 @@ version: '3.6'
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
conductor-server:
|
conductor-server-local:
|
||||||
environment:
|
environment:
|
||||||
- CONFIG_PROP=conductor-swarm-config.properties
|
- CONFIG_PROP=conductor-swarm-config.properties
|
||||||
image: "nubisware/conductor-server:3.0.4"
|
image: "nubisware/conductor-server:3.0.4"
|
||||||
|
@ -22,10 +22,9 @@ services:
|
||||||
logging:
|
logging:
|
||||||
driver: "journald"
|
driver: "journald"
|
||||||
|
|
||||||
conductor-ui:
|
conductor-ui-local:
|
||||||
environment:
|
environment:
|
||||||
- WF_SERVER=http://conductor-server:8080/api/
|
- WF_SERVER=http://conductor-server-local:8080/api/
|
||||||
- AUTH_CONFIG_PATH=/app/config/auth.config
|
|
||||||
image: "nubisware/conductor-ui-oauth2:3.0.4"
|
image: "nubisware/conductor-ui-oauth2:3.0.4"
|
||||||
networks:
|
networks:
|
||||||
- conductor-network
|
- conductor-network
|
||||||
|
|
|
@ -3,7 +3,8 @@ version: '3.6'
|
||||||
services:
|
services:
|
||||||
base:
|
base:
|
||||||
environment:
|
environment:
|
||||||
CONDUCTOR_SERVER: http://conductor-server:8080/api
|
CONDUCTOR_SERVER: http://conductor-server-local:8080/api/
|
||||||
|
CONDUCTOR_HEALTH: http://conductor-server-local:8080/health
|
||||||
configs:
|
configs:
|
||||||
- source: base-config
|
- source: base-config
|
||||||
target: /app/config.cfg
|
target: /app/config.cfg
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
upstream _conductor-server {
|
upstream _conductor-server {
|
||||||
ip_hash;
|
ip_hash;
|
||||||
server conductor-server:8080;
|
server conductor-server-local:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream _conductor-ui {
|
upstream _conductor-ui {
|
||||||
ip_hash;
|
ip_hash;
|
||||||
server conductor-ui:5000;
|
server conductor-ui-local:5000;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -15,6 +15,7 @@ server {
|
||||||
server_name conductor-server;
|
server_name conductor-server;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
proxy_set_header Host $host;
|
||||||
proxy_pass http://_conductor-server;
|
proxy_pass http://_conductor-server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue