vulpemventures / nigiri

🍣 A delicious docker box for special Bitcoin, Lightning and Liquid cookings
https://nigiri.vulpem.com
MIT License
273 stars 44 forks source link

Docker compose issues on Debian 11 #152

Open improvethings opened 2 years ago

improvethings commented 2 years ago

$ lsb_release -d Description: Debian GNU/Linux 11 (bullseye) $ uname -srm Linux 5.10.0-13-amd64 x86_64 $ curl -fsSL https://get.docker.com -o get-docker.sh $ docker version Client: Version: 20.10.5+dfsg1 API version: 1.41

$ head docker.compose.txt ~/.nigiri/docker-compose.yml: version: '3.8' services:

RPC daemon

bitcoin: image: ghcr.io/vulpemventures/bitcoin:latest

... etc

$ nigiri start ERROR: Version in "/home/me/.nigiri/docker-compose.yml" is unsupported. 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

so I remove the "version: '3.8'" first line:

$ nigiri start ERROR: The Compose file '/home/me/.nigiri/docker-compose.yml' is invalid because: Unsupported config option for services: 'chopsticks' Unsupported config option for networks: 'default' exit status 1

I've attached the docker compose file

tiero commented 2 years ago

Can you update your docker-compose to latest version? It should not be needed to touch the compose in your nigiri datadir

https://docs.docker.com/compose/install/#install-compose