Hypfer / ICantBelieveItsNotValetudo

A Valetudo companion service which renders maps to pngs
Apache License 2.0
129 stars 80 forks source link

How to install it via Docker #88

Closed sca075 closed 1 year ago

sca075 commented 1 year ago

I followed the instruction: 1) Can not find the docker package with docker pull. 2) docker compose do not work with the provided script.

Honestly.. really not well explained the how to.. install and use this package.

Judman commented 1 year ago

Any luck? I cannot get this to work with docker compose v2.

docker compose up and docker compose build give the same error "validating /home/judson/test/compose.yaml: (root) Additional property icantbelieveitsnotvaletudo is not allowed"

Docker version 24.0.2, build cb74dfc Docker Compose version v2.18.1

Yaml -

 icantbelieveitsnotvaletudo:
    build:
      context: ./ICantBelieveItsNotValetudo/
      dockerfile: Dockerfile
    container_name: "ICantBelieveItsNotValetudo"
    restart: always
    volumes:
      - /home/judson/test/config.json:/app/config.json

Edit:

Turns out I just needed to add services: to the top of the compose file. It works now!