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:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user