-
Notifications
You must be signed in to change notification settings - Fork 129
/
docker-compose.yml
50 lines (48 loc) · 1.19 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
version: '3.9'
volumes:
mongodb-data: {}
redis-data: {}
services:
ui:
image: ghcr.io/cenit-io/ui:latest
ports:
- "3002:80"
environment:
- REACT_APP_LOCALHOST=http://localhost:3002
- REACT_APP_CENIT_HOST=http://localhost:3000
server:
build: .
ports:
- "3000:8080"
environment:
- MONGODB_URI=mongodb://mongo_server/cenit
- REDIS_HOST=redis
- HOMEPAGE=http://localhost:3000
- ADMIN_UI=http://localhost:3002
- RABBITMQ_BIGWIG_TX_URL=amqp://cenit_rabbit:cenit_rabbit@rabbitmq/cenit_rabbit_vhost
- SCHEDULER_LOOKUP_INTERVAL=8
- UNICORN_WORKERS=4
- MAXIMUM_UNICORN_CONSUMERS=4
depends_on:
- mongo_server
- redis
rabbitmq:
image: rabbitmq:management
ports:
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_PASS=cenit_rabbit
- RABBITMQ_DEFAULT_USER=cenit_rabbit
- RABBITMQ_DEFAULT_VHOST=cenit_rabbit_vhost
labels:
NAME: "rabbitmq-server"
mongo_server:
image: mongo:4.4
restart: always
volumes:
- mongodb-data:/data/db
redis:
image: redis:5
volumes:
- redis-data:/data
command: ["redis-server", "--appendonly", "yes"]