Skip to content

Commit e8d8692

Browse files
authored
Update README.md
docs: add GHCR pull/run instructions (latest and versioned)
1 parent b9b1316 commit e8d8692

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,28 @@ tail -f /var/log/nginx/oauth_callback.log
211211
212212
journalctl -t hh-token-refresh --since today -f
213213
214+
```
215+
---
216+
217+
## Запуск через Docker (GHCR)
218+
219+
### Всегда последняя стабильная версия
220+
```
221+
docker pull ghcr.io/do6pbln9l/hh-oauth2-infra:latest
222+
docker run --rm -p 8000:8000 ghcr.io/do6pbln9l/hh-oauth2-infra:latest
214223
```
215224

225+
### Конкретная версия (пример)
226+
```
227+
docker pull ghcr.io/do6pbln9l/hh-oauth2-infra:v1.0.0
228+
docker run --rm -p 8000:8000 ghcr.io/do6pbln9l/hh-oauth2-infra:v1.0.0
229+
```
230+
231+
### Проверка
232+
```
233+
curl -i http://127.0.0.1:8000/
234+
curl -i "http://127.0.0.1:8000/callback?code=TEST123"
235+
```
216236
---
217237

218238
## 🚀 Переход на продакшен-приложение

0 commit comments

Comments
 (0)