Hygieia: Unable To Run Dashboard Using Docker-Compose

Created on 16 Sep 2019  路  6Comments  路  Source: hygieia/hygieia

I'm trying to run the Hygieia Dashboard using docker-compose by following this below URL Instructions and it throw me this error when I run docker-compose up -d command.

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

I even try to pull hygieia-api:latest image and it's not available. Any help is appreciated.

Steps URL:
http://hygieia.github.io/Hygieia/builddocker.html

Most helpful comment

Experienced the same issue: What worked for me:

  • Clone or download sources from https://github.com/Hygieia/api
  • Build sources
    mvn clean install
  • Build docker image
    docker build -t hygieia-api .
  • Add the following section to the docker-compose.yml of your already cloned Hygieia project (https://github.com/Hygieia/Hygieia):
api:
    image: hygieia-api
    depends_on:
      - db.

Then start Hygieia Dashboard using docker-compose as described with:

docker-compose up -d

All 6 comments

Experienced the same issue: What worked for me:

  • Clone or download sources from https://github.com/Hygieia/api
  • Build sources
    mvn clean install
  • Build docker image
    docker build -t hygieia-api .
  • Add the following section to the docker-compose.yml of your already cloned Hygieia project (https://github.com/Hygieia/Hygieia):
api:
    image: hygieia-api
    depends_on:
      - db.

Then start Hygieia Dashboard using docker-compose as described with:

docker-compose up -d

version: '3'
services:
db:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- "db-data:/data/db"

db-setup:
build: db
depends_on:
- db

api:
image: hygieia-api
depends_on:

  • db

ui:
build: UI
image: hygieia-ui
depends_on:
- api
ports:
- "3000:80"

volumes:
db-data:
certs:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I was able to use the other image and it worked for me. Thanks @itmatters @dasaradhan , for your help.

This is still not fixed in the main repo though

Yeah I believe things are not very up to date now because they are in the process of splitting up the project into modules

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anuragmishra-sn picture anuragmishra-sn  路  7Comments

xpdable picture xpdable  路  5Comments

vishnuvangala picture vishnuvangala  路  5Comments

coreymeadln picture coreymeadln  路  6Comments

drewkhoury picture drewkhoury  路  6Comments