sipcapture / homer7-docker

HOMER 7 Docker Images
93 stars 84 forks source link

ParserError while running docker-compose up #36

Open ConfuzedCoder opened 5 years ago

ConfuzedCoder commented 5 years ago

Hi I have cloned the repo and tried to install hepop - hom7-loudml-influx using docker-compose up but it's throwing error.

Screenshot is attached below

docker-compose --version : 1.23.2 docker --version : 19.03.1

docker-issue

lmangani commented 5 years ago

line 1 column 1 this seems an suspect issue with your file or newlines, not the compose contents. I just validated the yml and its parsing fine. What platform are you on?

ConfuzedCoder commented 5 years ago

@lmangani CentOS 7

lmangani commented 5 years ago

please run

docker-compose config
lmangani commented 5 years ago

Works fine on our test systems, the yml is parsed just fine:

heplify-server/hom7-loudml-influx # docker-compose up
Creating network "hom7-loudml-influx_default" with the default driver
Creating loudml ...
ConfuzedCoder commented 5 years ago

docker-compose config is showing same error. I haven't changed anything in the file. It's also showing some error on line number 66. Please check that.

ConfuzedCoder commented 5 years ago

I am facing the same issue on Debian OS also. I executed below commands.

git clone https://github.com/sipcapture/homer7-docker
cd /home/sify/homer7-docker/hepop/hom7-loudml-influx
docker-compose up

Output : 
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 1, column 1
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 66, column 3

docker --version
Docker version 18.09.7, build 2d0083d
docker-compose --version
docker-compose version 1.24.0, build 0aa59064
ConfuzedCoder commented 5 years ago

@lmangani docker-compose.yml file is working for all hepop server except hom7-loudml-influx hepop server. Let me know if you want more information.