Skip to content

Add environment variables to config.json #1015

Closed

Description

@MichaelAceAnderson

Describe the solution you'd like
I would like to be able to use environment variables interpolated in the config.json file.
Example:

{
  "rcon": {
    "password": "${RCON_PASSWORD}"
  }
}

This could make the config.json more reusable, but also make it much simpler to Dockerize a open.mp server.
In addition, I would rather not store my passwords on my repositories.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions