1
0
Fork 0
mirror of https://github.com/EDeev/api_processor.git synced 2026-10-07 20:49:34 +03:00

Compare commits

...

1 commit
v1.0.0 ... main

3 changed files with 4 additions and 10 deletions

View file

@ -19,17 +19,11 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v3
with:
registry: dcr.deev.su
username: ${{ secrets.ZOT_USERNAME }}
password: ${{ secrets.ZOT_PASSWORD }}
- id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/edeev/api_processor
dcr.deev.su/edeev/api_processor
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}

View file

@ -58,7 +58,7 @@ docker compose up -d # API at http://localhost:8000
```
The Vosk model and FFmpeg are inside the image. Prebuilt image: `docker pull ghcr.io/edeev/api_processor` or
`docker pull dcr.deev.su/edeev/api_processor`.
`docker pull git.deev.su/edeev/api_processor`.
Without Docker you need:
- FFmpeg in `PATH`;
@ -111,7 +111,7 @@ What the tests cover:
- limits and the token;
- a real gRPC server and an unavailable one.
The Docker image is built on `v*` tags and published to GitHub Packages and `dcr.deev.su`.
The Docker image is built on `v*` tags and published to GitHub Packages and `git.deev.su`.
## License

View file

@ -60,7 +60,7 @@ docker compose up -d # API на http://localhost:8000
```
Модель Vosk и FFmpeg уже внутри образа. Готовый образ: `docker pull ghcr.io/edeev/api_processor` или
`docker pull dcr.deev.su/edeev/api_processor`.
`docker pull git.deev.su/edeev/api_processor`.
Без Docker нужны:
- FFmpeg в `PATH`;
@ -121,7 +121,7 @@ ruff check --select E9,F,B --exclude proto . && pytest
- лимиты и токен;
- работу с настоящим gRPC-сервером и его недоступность.
Docker-образ собирается по тегу `v*` и публикуется в GitHub Packages и `dcr.deev.su`.
Docker-образ собирается по тегу `v*` и публикуется в GitHub Packages и `git.deev.su`.
Код gRPC пересобирается так:
`python -m grpc_tools.protoc -Iproto --python_out=proto --grpc_python_out=proto proto/text_service.proto`.