zeidlos / hamclock-docker

Docker Implementation of Hamclock
MIT License
15 stars 3 forks source link

Config Yaml giving white space errors. #2

Open chrisgaeth opened 10 months ago

chrisgaeth commented 10 months ago

Built my config.yaml. I get the following error when I try to run. cgaeth@A0087 hamclock-docker % docker run --rm --name hamclock -d -it -p 8081:8081 -p 8080:8080 --env-file config.yaml hamclock docker: poorly formatted environment: variable 'CALLSIGN: "K3VDR"' contains whitespaces.

There are no spaces

chrisgaeth commented 10 months ago

As a test I also just copied the provided example file to config.yaml and got the same error.

Drmachinegun commented 9 months ago

I just removed all the spaces so line 2: CALLSIGN: "DO7JZ" line 3: LOCATOR: "JO53an" # Use 6-digit locator just becomes CALLSIGN:"DO7JZ" LOCATOR:"JO53an" and so on down the config file. im not sure this is the correct fix but it worked for me.

zeidlos commented 6 months ago

Hi there, sorry, I've been busy with life, family and work.

In order to better be able to replicate your problem, might you tell me, what OS youre using? "Works for me", but thats not good enough. :)

Drmachinegun commented 3 months ago

Been busy with life too, but i do appreciate the effort to get back, so I think what I was working on a dedicated server with ubuntu 22.04 lts and was working on multiple instance via Ansible deployment remotely basically " install-hamclock -callsign -grid" and access it via callsign.domain.xx, i think it was ok but got busy with life and am just starting to pick it back up.

But i was able to install this as is on my lab today no issues like i had before. thanks for you time on this it works great