mirror of
https://github.com/lemeow125/Service_Queue.git
synced 2025-09-20 14:33:02 +08:00
Update .yml files and README.md
This commit is contained in:
parent
6b999b8298
commit
30eea7e784
4 changed files with 136 additions and 5 deletions
28
README.md
28
README.md
|
@ -1,3 +1,31 @@
|
|||
# Service Queue Templates
|
||||
|
||||
This repository contains a collection of templates tailored for DevOps practices designed to assist with Service Queue deployments.
|
||||
|
||||
## `build.yml` Environment Variables
|
||||
|
||||
| Variable Name | Description | Value Value |
|
||||
|----------------------------|--------------------------------------------------|----------------------------------------------------|
|
||||
| `FORGEJO_REGISTRY_URL` | Artifact registry to push built image to | `git.06222001.xyz` |
|
||||
| `FORGEJO_REGISTRY_USERNAME`| Credentials used to push to the image registry | `N/A (redacted)` |
|
||||
| `FORGEJO_REGISTRY_PASSWORD`| Credentials used to push to the image registry | `N/A (redacted)` |
|
||||
| `REGISTRY_IMAGE_TAG` | Docker image container tag to push to registry | `git.06222001.xyz/keannu125/drf_template:latest` |
|
||||
| `DISCORD_WEBHOOK_ID` | Discord Webhook ID used for Build Status Updates | `N/A (redacted)` |
|
||||
|
||||
## `deploy.yml` Environment Variables
|
||||
|
||||
| Variable Name | Description | Value |
|
||||
|----------------------|-----------------------------------------------------|--------------------------------------|
|
||||
| `SSH_HOST` | SSH host for deployment | `N/A (redacted)` |
|
||||
| `PROJECT_DIRECTORY` | Directory on remote host for deployment | `/mnt/nvme/files/docker projects/drf_template` |
|
||||
| `SSH_KEY` | Private SSH key for authentication | `N/A (redacted)` |
|
||||
| `REGISTRY_IMAGE_TAG` | Docker image tag to deploy | `git.06222001.xyz/keannu125/drf_template:latest` |
|
||||
| `DOCKER_VOLUME_DB` | Docker volume name for the database | `drf_template_db_data` |
|
||||
| `DOCKER_COMPOSE_URL` | URL to fetch docker-compose.yml | `https://raw.githubusercontent.com/lemeow125/DRF_Template/refs/heads/master/docker-compose.prod.yml` |
|
||||
| `DISCORD_WEBHOOK_ID` | Discord Webhook ID for deployment notifications | `N/A (redacted)` |
|
||||
| `DISCORD_WEBHOOK_TOKEN` | Discord Webhook Token for deployment notifications | `N/A (redacted)` |
|
||||
|
||||
> **Note:**
|
||||
> Actual values may differ based on your pipeline configuration.
|
||||
> Usage of `.deploy_ephemeral.yml` does not require `DOCKER_VOLUME_DB`
|
||||
> For more information, consult your Woodpecker CI/CD maintainer.
|
Loading…
Add table
Add a link
Reference in a new issue