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

Configuration file #156

Closed
tfius opened this issue Dec 3, 2021 · 5 comments
Closed

Configuration file #156

tfius opened this issue Dec 3, 2021 · 5 comments
Assignees

Comments

@tfius
Copy link
Contributor

tfius commented Dec 3, 2021

Add configuration file that is read on start:

  • CORS settings
  • postage stamp Id

any other ideas ?

@asabya
Copy link
Collaborator

asabya commented Dec 8, 2021

adding these for now

bee:
  bee-api-endpoint: 127.0.0.1:1633
  bee-debug-api-endpoint: 127.0.0.1:1635
  postage-batch-id: someId
cookie-domain: localhost
cors-allowed-origins: [localhost:8080]
dfs:
  config: /home/User/.dfs.yaml
  data-dir: /home/User/.fairOs/dfs
  ports:
    http-port: :9090
    pprof-port: :9091
verbosity: info

@tfius
Copy link
Contributor Author

tfius commented Dec 8, 2021

looks good for now

@asabya
Copy link
Collaborator

asabya commented Dec 9, 2021

#160 will deprecate two flags --beeHost & --beePort, instead it will add two new flags

  • --beeApi full api enpoint url
  • --beeDebugApi full debug api endpoint for stamps api

it will create a .dfs.yaml at user home directory or user defined path passed via --config flag.

it will also add a command config that will print current config

@asabya
Copy link
Collaborator

asabya commented Dec 24, 2021

#103 this can be added in the config file. @IgorShadurin, @tfius any suggestions?

@asabya
Copy link
Collaborator

asabya commented Jan 28, 2022

#103 was not added. although config changed got released in v0.7.3

@asabya asabya closed this as completed Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants