Update Docker image references from 'telemtPanel' to 'telemtpanel' across configuration files and documentation for consistency.
This commit is contained in:
@@ -39,11 +39,20 @@ jobs:
|
||||
echo "GIT_COMMIT_SHORT=$(echo ${{ gitea.sha }} | cut -c1-7)" >> ./version.txt
|
||||
echo "BUILD_TIMESTAMP=$(date -u +%s)" >> ./version.txt
|
||||
|
||||
# Docker registry names must be lowercase (Gitea repo is telemtPanel).
|
||||
- name: Resolve image name
|
||||
id: image
|
||||
run: |
|
||||
IMAGE_REPO="git.shts.su/$(echo '${{ gitea.repository }}' | tr '[:upper:]' '[:lower:]')"
|
||||
echo "name=${IMAGE_REPO}" >> "$GITHUB_OUTPUT"
|
||||
echo "name=${IMAGE_REPO}" >> "$GITEA_OUTPUT"
|
||||
echo "Resolved image: ${IMAGE_REPO}"
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: git.shts.su/${{ gitea.repository }}
|
||||
images: ${{ steps.image.outputs.name }}
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=raw,value=latest,enable=${{ gitea.ref_name == 'main' }}
|
||||
@@ -59,8 +68,8 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
NODE_VERSION=22.23.0-bookworm-slim
|
||||
cache-from: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache
|
||||
cache-to: type=registry,ref=git.shts.su/${{ gitea.repository }}:buildcache,mode=max
|
||||
cache-from: type=registry,ref=${{ steps.image.outputs.name }}:buildcache
|
||||
cache-to: type=registry,ref=${{ steps.image.outputs.name }}:buildcache,mode=max
|
||||
provenance: true
|
||||
|
||||
create-release:
|
||||
@@ -90,12 +99,13 @@ jobs:
|
||||
- name: Create Release
|
||||
run: |
|
||||
VERSION="${{ gitea.ref_name }}"
|
||||
IMAGE_REPO="git.shts.su/$(echo '${{ gitea.repository }}' | tr '[:upper:]' '[:lower:]')"
|
||||
RELEASE_DATA=$(cat <<EOF
|
||||
{
|
||||
"tag_name": "${VERSION}",
|
||||
"target_commitish": "${{ gitea.sha }}",
|
||||
"name": "telemt-panel ${VERSION}",
|
||||
"body": "## telemt-panel ${VERSION}\n\n### Docker\n\n\`\`\`bash\ndocker pull git.shts.su/${{ gitea.repository }}:${VERSION}\ndocker run -d --network host -e PANEL_MODE=standalone -e TELEMT_API_URL=http://127.0.0.1:9091 -e JWT_SECRET=change-me -e BOOTSTRAP_PASSWORD=change-me -v /var/lib/telemt-panel:/data --name telemt-panel git.shts.su/${{ gitea.repository }}:${VERSION}\n\`\`\`\n\nСм. docs/install.md\n\n### Changelog\n\n${{ steps.changelog.outputs.CHANGELOG }}",
|
||||
"body": "## telemt-panel ${VERSION}\n\n### Docker\n\n\`\`\`bash\ndocker pull ${IMAGE_REPO}:${VERSION}\ndocker run -d --network host -e PANEL_MODE=standalone -e TELEMT_API_URL=http://127.0.0.1:9091 -e JWT_SECRET=change-me -e BOOTSTRAP_PASSWORD=change-me -v /var/lib/telemt-panel:/data --name telemt-panel ${IMAGE_REPO}:${VERSION}\n\`\`\`\n\nСм. docs/install.md\n\n### Changelog\n\n${{ steps.changelog.outputs.CHANGELOG }}",
|
||||
"draft": false,
|
||||
"prerelease": false
|
||||
}
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
|
||||
Control panel for Telemt MTProxy — **standalone** (direct `/v1`) or **fleet** (Go agents).
|
||||
|
||||
Image: `git.shts.su/denozord/telemtPanel`
|
||||
Image: `git.shts.su/denozord/telemtpanel`
|
||||
|
||||
## Quick start (standalone)
|
||||
|
||||
```bash
|
||||
docker pull git.shts.su/denozord/telemtPanel:latest
|
||||
docker pull git.shts.su/denozord/telemtpanel:latest
|
||||
docker run -d --name telemt-panel --network host \
|
||||
-e PANEL_MODE=standalone \
|
||||
-e TELEMT_API_URL=http://127.0.0.1:9091 \
|
||||
-e JWT_SECRET=change-me-long \
|
||||
-e BOOTSTRAP_PASSWORD=change-me \
|
||||
-v /var/lib/telemt-panel:/data \
|
||||
git.shts.su/denozord/telemtPanel:latest
|
||||
git.shts.su/denozord/telemtpanel:latest
|
||||
```
|
||||
|
||||
Полная инструкция (RU): **[docs/install.md](docs/install.md)**.
|
||||
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
max-file: "3"
|
||||
|
||||
app:
|
||||
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest}
|
||||
image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
|
||||
pull_policy: always
|
||||
container_name: telemt-panel
|
||||
restart: unless-stopped
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ set -euo pipefail
|
||||
MODE="${PANEL_MODE:-standalone}"
|
||||
NON_INTERACTIVE=0
|
||||
DATA_DIR="${DATA_DIR:-/var/lib/telemt-panel}"
|
||||
IMAGE="${PANEL_IMAGE:-git.shts.su/denozord/telemtPanel:latest}"
|
||||
IMAGE="${PANEL_IMAGE:-git.shts.su/denozord/telemtpanel:latest}"
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
services:
|
||||
panel:
|
||||
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest}
|
||||
image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
|
||||
container_name: telemt-panel
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
services:
|
||||
panel:
|
||||
image: git.shts.su/denozord/telemtPanel:${PANEL_IMAGE_TAG:-latest}
|
||||
image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
|
||||
container_name: telemt-panel
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
# Telemt Panel — установка (RU)
|
||||
|
||||
Один Docker-образ: `git.shts.su/denozord/telemtPanel`. Режим задаётся `PANEL_MODE`.
|
||||
Один Docker-образ: `git.shts.su/denozord/telemtpanel`. Режим задаётся `PANEL_MODE`.
|
||||
|
||||
| Режим | Когда | Агент |
|
||||
|-------|--------|--------|
|
||||
@@ -18,7 +18,7 @@ UI: ReUI PRO Frame. Previews: [app-shell-12](https://reui.io/preview/base/app-sh
|
||||
## Быстрый старт: standalone (рекомендуется на Linux)
|
||||
|
||||
```bash
|
||||
docker pull git.shts.su/denozord/telemtPanel:latest
|
||||
docker pull git.shts.su/denozord/telemtpanel:latest
|
||||
|
||||
docker run -d --name telemt-panel --network host \
|
||||
-e PANEL_MODE=standalone \
|
||||
@@ -27,7 +27,7 @@ docker run -d --name telemt-panel --network host \
|
||||
-e BOOTSTRAP_USERNAME=admin \
|
||||
-e BOOTSTRAP_PASSWORD='change-me' \
|
||||
-v /var/lib/telemt-panel:/data \
|
||||
git.shts.su/denozord/telemtPanel:latest
|
||||
git.shts.su/denozord/telemtpanel:latest
|
||||
```
|
||||
|
||||
Откройте `http://127.0.0.1:8080`, войдите `admin` / пароль из `BOOTSTRAP_PASSWORD`.
|
||||
|
||||
Reference in New Issue
Block a user