conductor icon indicating copy to clipboard operation
conductor copied to clipboard

Ui and server in different servers

Open amoolya19 opened this issue 9 years ago • 5 comments

is it possible to have server and UI in different system? when i just start the ui without starting the server i get message which means something like the server is not up(localhost :8080 not up). so is there a way to configure ui for server running different ip? Also is there a way to config port of server other than 8080?

amoolya19 avatar Apr 03 '17 12:04 amoolya19

Yes, before you start the server, make sure to export WF_SERVER environment variable with location to the server.

e.g.

#make sure the wf_server ends with a "/"
export WF_SERVER=http://host:port/api/
#start the UI server now

v1r3n avatar Apr 03 '17 15:04 v1r3n

Hi @v1r3n,

I am not using docker image. so is it "conductor/ui/gulpfile.babel.js" you are referring to?

var wf_server = process.env.WF_SERVER || 'http://localhost:8080/api/';

amoolya19 avatar Apr 04 '17 06:04 amoolya19

@amoolya19 even if you do not use docker image, the WF_SERVER variable will work. the line you pasted from gulpfile does exactly the same.

v1r3n avatar Apr 04 '17 13:04 v1r3n

@v1r3n , Thank you Viren. i would try this when our server is ready. would reopen this if i face any hurdles.

amoolya19 avatar Apr 05 '17 11:04 amoolya19

@v1r3n Can we config the port of server to other than 8080?

vijchint avatar Jan 03 '20 06:01 vijchint