-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhttpbin.yaml
More file actions
30 lines (28 loc) · 818 Bytes
/
httpbin.yaml
File metadata and controls
30 lines (28 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
api1:
image: kennethreitz/httpbin
restart: always
container_name: api1
healthcheck:
test: ["CMD", "/usr/bin/python3", "-c", "import socket; socket.create_connection(('127.0.0.1', 80), 5)"]
interval: 10s
timeout: 10s
retries: 3
api2:
image: kennethreitz/httpbin
restart: always
container_name: api2
healthcheck:
test: ["CMD", "/usr/bin/python3", "-c", "import socket; socket.create_connection(('127.0.0.1', 80), 5)"]
interval: 10s
timeout: 10s
retries: 3
api3:
image: kennethreitz/httpbin
restart: always
container_name: api3
healthcheck:
test: ["CMD", "/usr/bin/python3", "-c", "import socket; socket.create_connection(('127.0.0.1', 80), 5)"]
interval: 10s
timeout: 10s
retries: 3