Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid port versioncontrol service #98

Open
ifraixedes opened this issue May 31, 2024 · 0 comments
Open

Invalid port versioncontrol service #98

ifraixedes opened this issue May 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ifraixedes
Copy link
Member

Reason / Why?

storj-up v1.2.7 assigns an invalid port to the versioncontrol service.

When storj-up init versioncontrol or any other recipe that adds the versioncontrol service to the docker-compose.yaml file is executed it produces the following

version: "3.4"
services:
  versioncontrol:
    command:
    - versioncontrol
    - run
    deploy:
      replicas: 1
    environment:
      BINARY_GATEWAY_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      BINARY_IDENTITY_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      BINARY_SATELLITE_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      BINARY_STORAGENODE_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      BINARY_STORAGENODE_UPDATER_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      BINARY_UPLINK_ROLLOUT_SEED: "0000000000000000000000000000000000000000000000000000000000000001"
      STORJ_ADDRESS: 0.0.0.0:-1
      STORJ_DEBUG_ADDR: 0.0.0.0:11111
      STORJ_DEFAULTS: dev
      STORJ_LOG_LEVEL: debug
      STORJ_METRICS_APP_SUFFIX: sim
    image: img.dev.storj.io/storjup/storj:1.104.5
networks: {}

The environment variable STORJ_ADDRESS: 0.0.0.0:-1 has the -1 port, an invalid port.

What needs to be done?

Fix the versioncontrol service docker-compose generation to assign a valid port.

Acceptance criteria

  • Fix storj-up init with any recipe that adds the versioncontrol service into the docker-compose.yaml file to assign a valid port to the STORJ_ADDRESS environment variable.
@ifraixedes ifraixedes added the bug Something isn't working label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant