From 839582f5fdabb8cc5c9eb9cabd021e98b9eeab0d Mon Sep 17 00:00:00 2001 From: Luyus <148471006+xinghenLuyus@users.noreply.github.com> Date: Sun, 4 Jan 2026 17:00:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0compose=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b00a8b1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.8' + +services: + coin-manager: + build: + context: . + dockerfile: Dockerfile + container_name: coin-manager + ports: + - "10082:80" + restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost/index.html"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s