Compare commits

...

7 Commits

Author SHA1 Message Date
85a8820234
Merge pull request #37 from ditkrg/dev
Add Environment variables page
2023-05-03 13:46:01 +03:00
8474cde70e
specify kubectl version 2023-04-27 17:08:54 +03:00
Shakar
b38a071c8d
Use the new github runner that can deploy public repos
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-27 16:01:04 +03:00
Shakar
b2a9bee17a
Adds SIDEKIQ__REDIS_URL
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 11:21:26 +03:00
Shakar
9fc3370f81
Adds Redis__URL
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-06 10:55:51 +03:00
Shakar Bakr
4f2255c4b3
Changes the name of the database connection string env variable
Adds REDIS__CONNECTION_STRING

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
2023-04-05 02:17:16 +03:00
Shakar
e46c18d86f
S3__REGION is not needed.
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
2023-04-04 17:13:05 +03:00
2 changed files with 44 additions and 40 deletions

View File

@ -22,7 +22,7 @@ env:
jobs: jobs:
deploy: deploy:
timeout-minutes: 10 timeout-minutes: 10
runs-on: ubuntu-20.04 runs-on: [self-hosted, ubuntu-jammy, public]
environment: environment:
url: ${{ inputs.env_url }} url: ${{ inputs.env_url }}
name: ${{ inputs.env_name }} name: ${{ inputs.env_name }}
@ -32,7 +32,9 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Kubectl tool installer - name: Kubectl tool installer
uses: Azure/setup-kubectl@v3 uses: azure/setup-kubectl@v3
with:
version: v1.25.8
- uses: azure/k8s-set-context@v3 - uses: azure/k8s-set-context@v3
with: with:

View File

@ -5,18 +5,17 @@ This document provides a brief description of the environment variables that are
The following table lists the environment variables that are common to all DIT micro-service applications, along with their descriptions. The following table lists the environment variables that are common to all DIT micro-service applications, along with their descriptions.
| Environment Variable | Description | | Environment Variable | Description |
| :--------------------------- | :------------------------------------------------------------------------ | | :---------------------------- | :------------------------------------------------------------------------ |
| CAS\_\_URL | URL for the Central Authentication Service (CAS) | | CAS\_\_URL | URL for the Central Authentication Service (CAS) |
| CAS\_\_M2M_CLIENT_ID | Client ID for machine-to-machine authentication with the CAS | | CAS\_\_M2M_CLIENT_ID | Client ID for machine-to-machine authentication with the CAS |
| CAS\_\_M2M_CLIENT_SECRET | Client secret for machine-to-machine authentication with the CAS | | CAS\_\_M2M_CLIENT_SECRET | Client secret for machine-to-machine authentication with the CAS |
| DATABASE\_\_CONNECTIONSTRING | The connection string of database server | | DATABASE\_\_CONNECTION_STRING | The connection string of database server |
| DATABASE\_\_URL | The URL format for the connection string of database server | | DATABASE\_\_URL | The URL format for the connection string of database server |
| DATABASE\_\_HOST | The host name or IP address of the database server | | DATABASE\_\_HOST | The host name or IP address of the database server |
| DATABASE\_\_USERNAME | The username for accessing the database | | DATABASE\_\_USERNAME | The username for accessing the database |
| DATABASE\_\_PASSWORD | The password for accessing the database | | DATABASE\_\_PASSWORD | The password for accessing the database |
| DATABASE\_\_NAME | The name of the database | | DATABASE\_\_NAME | The name of the database |
| DATABASE\_\_PORT | The port number of the database server | | DATABASE\_\_PORT | The port number of the database server |
| S3\_\_REGION | The AWS region of the S3 bucket |
| S3\_\_ENDPOINT | The endpoint URL of the S3 bucket | | S3\_\_ENDPOINT | The endpoint URL of the S3 bucket |
| S3\_\_ACCESS_KEY_ID | The access key ID for accessing the S3 bucket | | S3\_\_ACCESS_KEY_ID | The access key ID for accessing the S3 bucket |
| S3\_\_SECRET_ACCESS_KEY | The secret access key for accessing the S3 bucket | | S3\_\_SECRET_ACCESS_KEY | The secret access key for accessing the S3 bucket |
@ -24,6 +23,9 @@ The following table lists the environment variables that are common to all DIT m
| S3\_\_UPLOADS_API_BUCKET | The name of the S3 bucket used for storing uploaded files via Uploads API | | S3\_\_UPLOADS_API_BUCKET | The name of the S3 bucket used for storing uploaded files via Uploads API |
| SIDEKIQ\_\_USERNAME | The username for accessing the Sidekiq web interface | | SIDEKIQ\_\_USERNAME | The username for accessing the Sidekiq web interface |
| SIDEKIQ\_\_PASSWORD | The password for accessing the Sidekiq web interface | | SIDEKIQ\_\_PASSWORD | The password for accessing the Sidekiq web interface |
| SIDEKIQ\_\_REDIS_URL | The URL of the redis database used by the Sidekiq web interface |
| REDIS\_\_URL | The URL format for the connection string of redis database server |
| REDIS\_\_CONNECTION_STRING | The connection string of redis database server |
| REDIS_SENTINEL\_\_HOST | The host name or IP address of the Redis Sentinel server | | REDIS_SENTINEL\_\_HOST | The host name or IP address of the Redis Sentinel server |
| REDIS_SENTINEL\_\_PORT | The port number of the Redis Sentinel server | | REDIS_SENTINEL\_\_PORT | The port number of the Redis Sentinel server |
| REDIS_SENTINEL\_\_PASSWORD | The password for accessing the Redis Sentinel server | | REDIS_SENTINEL\_\_PASSWORD | The password for accessing the Redis Sentinel server |