Skip to content

Improve service_config.sh usability via dynamic IP arguments #7

Description

@GREENRAT-K405

While going through the project documentation and setup scripts, I noticed that the service_config.sh script currently requires manual string replacement start functioning.
In the readme file users are instructed to manually edit the file to replace the private-ip placeholder with their actual server IP before execution.
This is the problem with it:

  • manual step: it doesn't allow fully automated or one go deployment
  • fragile: if user misses the above step, the script will configure kong with invalid url http://private-ip:8090 causing routing failure.
  • portability: script needs to be modified everytime environment changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions