You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Install script ./bin/setup-nightfall fails saying "docker-compose.yml" is invalid:
ERROR: The Compose file './docker/docker-compose.yml' is invalid because:
networks.nightfall_network.ipam.config value Additional properties are not allowed ('gateway' was unexpected)
Expected behavior
Nightfall setup should complete without error
To Reproduce
Steps to reproduce the behavior:
Using a VM with the following:
Ubuntu 20.04.5 LTS
node version v16.17.0
npm version 8.15.0
Docker version 20.10.22
docker-compose 1.25.0
Follow the install instructions, clone the repo and run script ./bin/setup-nightfall.
It does a lot of stuff but ends with error, the abbreviated output looks like this:
~/nightfall_3$ ./bin/setup-nightfall
npm WARN deprecated [email protected]:
(lots of warnings)
> [email protected] prepare
> husky install
husky - Git hooks installed
Sending build context to Docker daemon 1.322GB
Step 1/6 : FROM rust:1.53.0 as builder
---> 1ecb70e16851
Step 2/6 : WORKDIR /app
---> Using cache
---> c1cf3586db38
Step 3/6 : RUN git clone -b 'v2.1.2' --single-branch https://github.com/iden3/circom.git
---> Using cache
---> 51b6dff6703d
Step 4/6 : WORKDIR /app/circom
---> Using cache
---> 48ed4619f939
Step 5/6 : RUN rustup toolchain install nightly
---> Using cache
---> e160690d9a0d
Step 6/6 : RUN cargo +nightly build --release
---> Using cache
---> 133c0757df1e
Successfully built 133c0757df1e
Successfully tagged ghcr.io/eyblockchain/local-circom:latest
WARNING: The WHITELISTING variable is not set. Defaulting to a blank string.
WARNING: The UPGRADE_CONTRACTS variable is not set. Defaulting to a blank string.
WARNING: The ALWAYS_DO_TRUSTED_SETUP variable is not set. Defaulting to a blank string.
WARNING: The MPC variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker/docker-compose.yml' is invalid because:
networks.nightfall_network.ipam.config value Additional properties are not allowed ('gateway' was unexpected)
Additional context
The main repo readme says to use the node and npm versions above, but it doesn't say what version of docker or docker-compose to use. Maybe that is the issue?
The text was updated successfully, but these errors were encountered:
Thanks @KevinSmall; your diagnosis could well be correct. I'm using:
Docker Compose version v2.13.0
Docker version 20.10.21, build baeda1f
Could you try with these and, if it works, I'll update the docs along the lines you suggest.
Describe the bug
Install script
./bin/setup-nightfall
fails saying "docker-compose.yml" is invalid:Expected behavior
Nightfall setup should complete without error
To Reproduce
Steps to reproduce the behavior:
./bin/setup-nightfall
.Additional context
The main repo readme says to use the node and npm versions above, but it doesn't say what version of docker or docker-compose to use. Maybe that is the issue?
The text was updated successfully, but these errors were encountered: