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