diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 324dd1e..a80ca27 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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/deev.space - dcr.deev.su/edeev/deev.space tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} diff --git a/README.en.md b/README.en.md index 486e475..87f3f99 100644 --- a/README.en.md +++ b/README.en.md @@ -36,7 +36,7 @@ docker compose exec web python manage.py createsuperuser ``` The site runs at `http://localhost:8000`, the admin at `/admin/`. Prebuilt image: -`docker pull ghcr.io/edeev/deev.space` or `docker pull dcr.deev.su/edeev/deev.space`. +`docker pull ghcr.io/edeev/deev.space` or `docker pull git.deev.su/edeev/deev.space`. ## Installing without Docker @@ -100,7 +100,7 @@ ratings and comments, and an anonymous visitor middleware. Details (in Russian): [deev.space](https://deev.space) runs on a VPS: gunicorn under a dedicated user behind nginx with a Let's Encrypt certificate; nginx serves static files and uploads. Prometheus monitors availability and certificate expiry. GitHub Actions builds the Docker image on every `v*` tag and publishes it to GitHub -Packages and to the `dcr.deev.su` registry. +Packages and to the `git.deev.su` registry. ## Development diff --git a/README.md b/README.md index 25f4ac8..a95c2a2 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ docker compose exec web python manage.py createsuperuser ``` Сайт откроется на `http://localhost:8000`, админка — на `/admin/`. Готовый образ: -`docker pull ghcr.io/edeev/deev.space` или `docker pull dcr.deev.su/edeev/deev.space`. +`docker pull ghcr.io/edeev/deev.space` или `docker pull git.deev.su/edeev/deev.space`. ## Установка без Docker @@ -100,7 +100,7 @@ flowchart LR [deev.space](https://deev.space) работает на VPS: gunicorn под отдельным пользователем за nginx с сертификатом Let's Encrypt, статика и загрузки отдаются nginx. Доступность и срок сертификата отслеживает Prometheus. Docker-образ собирает GitHub Actions на каждый тег `v*` и публикует в GitHub -Packages и в реестр `dcr.deev.su`. +Packages и в реестр `git.deev.su`. ## Разработка diff --git a/docs/deploy.md b/docs/deploy.md index 87220ae..f640c88 100644 --- a/docs/deploy.md +++ b/docs/deploy.md @@ -13,7 +13,7 @@ docker compose exec web python manage.py createsuperuser ```bash docker pull ghcr.io/edeev/deev.space:latest -docker pull dcr.deev.su/edeev/deev.space:latest +docker pull git.deev.su/edeev/deev.space:latest ``` За обратным прокси укажите домены в `DJANGO_ALLOWED_HOSTS` и `DJANGO_CSRF_TRUSTED_ORIGINS`, а