-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (43 loc) · 1016 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (43 loc) · 1016 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3.2"
services:
async_lab_interface:
image: jlazear/async_lab_interface
stdin_open: true # docker run -i
tty: true # docker run -t
restart: on-failure
command: /bin/bash
environment:
- DOCKER=1
depends_on:
- rabbitmq
links:
- rabbitmq
async_lab_interface_local:
build: .
stdin_open: true # docker run -i
tty: true # docker run -t
restart: on-failure
command: /bin/bash
environment:
- DOCKER=1
depends_on:
- rabbitmq
links:
- rabbitmq
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: rabbitmq
expose:
- 5672
- 15672
# ports:
# - 5672:5672
# - 15672:15672
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15672"]
interval: 30s
timeout: 10s
retries: 5