feat: initial dockerized 301 redirect to sag24.ru

nginx:alpine container, listens 8080, returns 301 -> https://sag24.ru$request_uri.
Mapped to host port 4083 on web.hhivp.com via docker-compose.
This commit is contained in:
Dmitry Gusev
2026-05-07 01:35:20 +03:00
commit 98cf294a0c
5 changed files with 72 additions and 0 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
sysadmingroup-ru:
build:
context: .
dockerfile: Dockerfile
image: sysadmingroup-ru:latest
container_name: sysadmingroup-ru
restart: unless-stopped
ports:
- "127.0.0.1:4083:8080"
healthcheck:
test: ["CMD", "wget", "-qO-", "-I", "http://127.0.0.1:8080/"]
interval: 30s
timeout: 5s
retries: 3
start_period: 5s
# Деплой на web (45.10.53.206):
# - /opt/docker/sites/sysadmingroup-ru/ ← git clone сюда
# Команды:
# cd /opt/docker/sites/sysadmingroup-ru && git pull && docker compose build && docker compose up -d