-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
67 lines (62 loc) · 1.33 KB
/
docker-compose.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
61
62
63
64
65
66
67
version: '3.8'
services:
comet_db:
image: stariongroup/cdp4-database-community-edition:3.4.0
container_name: comet-db
shm_size: 2gb
restart: always
command: postgres -c max_locks_per_transaction=1024
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=pass
hostname: comet-db
networks:
comet:
aliases:
- comet-db
ports:
- '5432:5432'
expose:
- '5432'
volumes:
- comet-db-data:/var/lib/postgresql/data
- comet-db-logs:/logs
comet_webservices:
image: stariongroup/comet-webservices-community-edition:8.0.1
container_name: comet-webservices
shm_size: 512m
restart: always
hostname: comet-webservices
networks:
comet:
aliases:
- comet-webservices
depends_on:
- comet_db
ports:
- "5000:5000"
expose:
- '5000'
volumes:
- comet-ws-logs:/app/logs
- comet-ws-storage:/app/storage
- comet-ws-uplaod:/app/upload
rabbitmq:
image: "rabbitmq:3-management"
container_name: rabbitmq
restart: always
ports:
- 15672:15672
networks:
- comet
volumes:
- 'rabbitmq_data:/data'
networks:
comet:
volumes:
comet-db-data:
comet-db-logs:
comet-ws-logs:
comet-ws-storage:
comet-ws-uplaod:
rabbitmq_data: