SpotiByeAds icon indicating copy to clipboard operation
SpotiByeAds copied to clipboard

docker compose does not work - ui depends on api which is underfined

Open drewkhoury opened this issue 5 years ago • 6 comments

Running docker-compose up gives: ERROR: Service 'ui' depends on service 'api' which is undefined.

This command should work without any other dependencies

drewkhoury avatar Jan 26 '20 20:01 drewkhoury

I guess this has to do with the huge banner message - but the wiki just has a lack of a tick for UI https://github.com/Hygieia/Hygieia/wiki/Hygieia-2019-Roadmap-(draft,-work-in-progress) ... what do I do for a demo right now or how long do I wait?

drewkhoury avatar Jan 26 '20 20:01 drewkhoury

I took a look and this commit dramatically changed the docker-compose.yml, removing many containers. @drewkhoury I quoted the wrong commit, let me look closer to find the right one,.

@rvema can you take a look the docker-compose.yml changes look to be your set of changes from 6 months ago (@tabladrum FYI)

image

FYI - I ran a test removing the dependency but I get the error: 2020/02/02 21:08:41 [emerg] 10#10: host not found in upstream "api" in /etc/nginx/conf.d/default.conf:26 nginx: [emerg] host not found in upstream "api" in /etc/nginx/conf.d/default.conf:26

jimzucker avatar Feb 02 '20 16:02 jimzucker

@jimzucker we are removing support for docker compose and are encouraging users to use docker build. We are prioritizing some time in the next few weeks to fix issues with docker builds.

rvema avatar Feb 02 '20 19:02 rvema

@rvema Can you point to instructions that we can follow, don't care if it's compose or docker, just want a reliable commit and set of instructions that don't require me to install a bunch of java deps and hope that my machine has the same libraries as yours.

I'm really confused (and worried) about the state of this project. Shouldn't you be able to point me to a working commit (preferably the lastest commit to master) that just works? Surely this software was working at some point.

Even though it's weird to say, at this point I'd happily take something from 6 months ago that works. Why not do that and take the pressure off your team fixing whatever is in progress now?

It's been 2 weeks, and I'm hearing it may be another two weeks before I get help from the first hurdle and I'm worried there might be many more coming up.

drewkhoury avatar Feb 08 '20 23:02 drewkhoury

@rvema Do we have any updates on this issue ? I am also facing the same while i am trying to run the UI. Could you please share the steps involved here to run it using docker build

ankita-newsuk avatar Feb 19 '20 18:02 ankita-newsuk

I am also facing the issue,

vagrant@vickyjenkins:~/Hygieia$ docker-compose up -d
ERROR: Service 'ui' depends on service 'api' which is undefined.

Is this working now?

PrabhuVignesh avatar Nov 03 '20 13:11 PrabhuVignesh