Run IR/SN app not in docker #17

Closed
opened 2025-12-28 18:08:07 +00:00 by sami · 1 comment
Owner

Originally created by @carpawell on GitHub (May 12, 2021).

Is there any way to run IR/SN app not in docker? This could make the testing process faster and make it more easier to run code with an attached debuger.

I see this as an optional feature when docker-compose starts: the whole network does up and it is possible to connect(register) local(not docker) go application as a SN to that network.

Maybe there must appear some configuration/script files for the correct app connection in that repository.

Originally created by @carpawell on GitHub (May 12, 2021). Is there any way to run IR/SN app not in docker? This could make the testing process faster and make it more easier to run code with an attached debuger. I see this as an optional feature when `docker-compose` starts: the whole network does `up` and it is possible to connect(register) local(not docker) go application as a SN to that network. Maybe there must appear some configuration/script files for the correct app connection in that repository.
sami 2025-12-28 18:08:07 +00:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@alexvanin commented on GitHub (May 13, 2021):

Is there any way to run IR/SN app not in docker?

Sure. All chain endpoints are available outside of the docker environment. You can launch neofs-dev-env and then run your neofs-node binary with config file, e.g. ./bin/neofs-node -config config.yml.

As you see you need correct config file with script hashes, endpoints, etc. After https://github.com/nspcc-dev/neofs-node/issues/493 there will be easier way to build your own config.yml from example. Right now it is a bit a mess of configuration values. However I don't think neofs-dev-env will contain yml configs for nodes, since ENVs are used by other applications.

@alexvanin commented on GitHub (May 13, 2021): > Is there any way to run IR/SN app not in docker? Sure. All chain endpoints are available outside of the docker environment. You can launch neofs-dev-env and then run your neofs-node binary with config file, e.g. `./bin/neofs-node -config config.yml`. As you see you need correct config file with script hashes, endpoints, etc. After https://github.com/nspcc-dev/neofs-node/issues/493 there will be easier way to build your own config.yml from example. Right now it is a bit a mess of configuration values. However I don't think neofs-dev-env will contain yml configs for nodes, since ENVs are used by other applications.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-dev-env#17
No description provided.