Files
sysadmingroup-website/docker-compose.yml
Dmitry Gusev 98cf294a0c 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.
2026-05-07 01:35:20 +03:00

22 lines
616 B
YAML

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