-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathdocker-compose.beta.yml
60 lines (56 loc) · 1.24 KB
/
docker-compose.beta.yml
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
version: '2'
services:
postgresql:
image: postgres:9.5
restart: always
env_file: docker-compose.env
volumes:
- ./data/postgres:/var/lib/postgresql/data
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
web_app:
image: ubnt/ucrm-billing:latest
restart: always
env_file: docker-compose.env
links:
- postgresql:postgresql
- elastic:elastic
- rabbitmq:rabbitmq
volumes:
- ./data/ucrm:/data
ports:
- 8080:80
- 8081:81
- 8443:443
- 2055:2055/udp
command: "server"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
elastic:
image: elastic/elasticsearch:6.2.4
volumes:
- ./data/elasticsearch6:/usr/share/elasticsearch/data
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
restart: always
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
rabbitmq:
image: rabbitmq:3
restart: always
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq
hostname: ucrm-rabbitmq
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"