Skip to content

Commit

Permalink
支持在docker 1.11.2版本运行,去掉docker-compose 2.1的健康检查
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtank committed Aug 10, 2017
1 parent b1e288e commit 7c80f7f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.1'
version: '2.0'

services:
zipkin:
Expand All @@ -23,11 +23,6 @@ services:
ports:
- "7070:7070"
- "8080:8080"
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 7070 &> /dev/null; echo $$?"]
interval: 30s
timeout: 10s
retries: 5

company-doorman:
image: "doorman:0.0.1-SNAPSHOT"
Expand All @@ -50,9 +45,6 @@ services:
- "company-worker"
environment:
- ARTIFACT_ID=beekeeper
depends_on:
company-worker:
condition: service_healthy
ports:
- "8082:8090"

Expand Down

0 comments on commit 7c80f7f

Please sign in to comment.