-
-
Notifications
You must be signed in to change notification settings - Fork 1
Enviroment variables
Nico Kempe edited this page May 7, 2023
·
3 revisions
| Variable | Example value | Description |
|---|---|---|
| GITHUB_TOKEN | ghp_a1B2c3D4e5F6g7H8i9j0K1l2M3n4O5p6Q7r8 | Your personal GitHub access token (Personal Access Token) with permissions to read packages. |
| GITHUB_REPO_OWNER | your_organization_name | The organization name that owns the GitHub repository. This implementation currently only supports organizations. |
| GITHUB_REPO_NAME | your_application_repository | The name of the GitHub repository containing the application. |
| PACKAGE_NAME | your_application_package_name | The name of the package containing the application. |
| PACKAGE_TYPE | container | The type of package containing the application. In this case, it is a Docker container. |
| CHECK_INTERVAL | 900000 | The time interval in milliseconds that the agent should check for updates (900000 ms = 15 minutes). |
| DOCKER_AGENT_IMAGE | your_organization_name/your_repo_name | The name of the Docker image containing the agent. The name should be in the format <repo_owner>/<repo_name>. |
| DOCKER_AGENT_TAG | your_agent_image_tag | The tag of the Docker image containing the agent. This tag is used to identify the image and update it when necessary. |
These variables are used to configure the auto-update agent and provide it with the necessary information to fetch the latest version of the application, check for updates, and update the application when needed.