nigiri
nigiri copied to clipboard
bug: 'name' does not match any of the regexes: '^x-'
I'm running into an issue trying to run Nigiri using the old docker-compose:
~$ docker-compose --version
docker-compose version 1.29.2, build 5becea4c
~$ curl -s https://getnigiri.vulpem.com | bash
Fetching https://github.com/vulpemventures/nigiri/releases/latest...
Latest release tag = v0.5.8
Fetching https://github.com/vulpemventures/nigiri/releases/download/v0.5.8/nigiri-linux-amd64...
Moving binary to /usr/local/bin...
Setting binary permissions...
Checking for Docker and Docker compose...
🍣 Nigiri Bitcoin installed!
~$ nigiri start
ERROR: The Compose file '/home/schwab/.nigiri/docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
exit status 1
Although it works with docker compose (no hyphen), it would be good to remain compatible.