From ee6e86d713459bf8750408b5cb561eb371355508 Mon Sep 17 00:00:00 2001 From: 05412 Date: Thu, 15 Aug 2024 08:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=E5=92=8C=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose.yaml | 9 +++++---- index.html | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/compose.yaml b/compose.yaml index 12d9626..4d388d8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -4,16 +4,17 @@ services: image: nginx:1.27.0-alpine container_name: surl-front ports: - - 127.0.0.1:80:80 + - 127.0.0.1:80:11451 volumes: - "./dist:/usr/share/nginx/html:ro" - "./nginx.conf:/etc/nginx/nginx.conf" + restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost/health"] - interval: 30s - timeout: 10s + interval: 5s + timeout: 5s retries: 5 - start_period: 10s + start_period: 5s networks: - surl-network networks: diff --git a/index.html b/index.html index 66e99c0..0778f03 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@ - - - + + + S-URL services