-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yaml
80 lines (80 loc) · 1.76 KB
/
docker-compose.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '2.3'
services:
kazoo:
container_name: kazoo
hostname: kazoo.local
build:
args:
KAZOO_VERSION: 4.1.43
KAZOO_CONFIGS_VERSION: 4.1.21
context: images/kazoo
image: telephoneorg/kazoo:${DOCKER_TAG:-latest}
environment:
ERLANG_HOSTNAME: long
ERLANG_COOKIE: test-cookie
RABBITMQ_HOST: rabbitmq.local
COUCHDB_HOST: couchdb.local
KAZOO_LOG_LEVEL: info
ports:
- "5555:5555"
- "8000:8000"
- "19025:19025"
- "24517:24517"
tmpfs:
- /tmp
networks:
local:
aliases:
- kazoo.local
cap_add:
- SYS_NICE
- SYS_RESOURCE
depends_on:
rabbitmq:
condition: service_healthy
couchdb:
condition: service_healthy
rabbitmq:
container_name: rabbitmq
hostname: rabbitmq.local
image: telephoneorg/rabbitmq:latest
environment:
ERLANG_HOSTNAME: long
ERLANG_COOKIE: test-cookie
tmpfs:
- /var/lib/rabbitmq/mnesia
networks:
local:
aliases:
- rabbitmq.local
couchdb:
container_name: couchdb
hostname: couchdb.local
image: telephoneorg/couchdb:latest
environment:
COUCHDB_DEV_INIT: 'true'
ERLANG_COOKIE: test-cookie
COUCHDB_ADMIN_USER: admin
COUCHDB_ADMIN_PASS: secret
COUCHDB_SHARDS: '1'
COUCHDB_LOG_LEVEL: info
ports:
- "5984:5984"
- "5986:5986"
networks:
local:
aliases:
- couchdb.local
volumes_from:
- couchdb-data
kzutil:
build:
args:
KAZOO_VERSION: 4.1.43
context: images/kzutil
image: telephoneorg/kzutil:${DOCKER_TAG:-latest}
couchdb-data:
build: images/couchdb-data
image: telephoneorg/couchdb-data:${DOCKER_TAG:-latest}
networks:
local: