forked from featbit/featbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
101 lines (94 loc) · 2.2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: featbit
version: "3"
services:
ui:
image: featbit/featbit-ui:latest
environment:
- API_URL=http://localhost:5000
- DEMO_URL=https://featbit-samples.vercel.app
- EVALUATION_URL=http://localhost:5100
depends_on:
- api-server
ports:
- "8081:80"
networks:
- featbit-network
api-server:
image: featbit/featbit-api-server:latest
environment:
- MongoDb__ConnectionString=mongodb://admin:password@mongodb:27017
- MongoDb__Database=featbit
- Redis__ConnectionString=redis:6379
- OLAP__ServiceHost=http://da-server
depends_on:
- mongodb
- redis
- da-server
ports:
- "5000:5000"
networks:
- featbit-network
evaluation-server:
image: featbit/featbit-evaluation-server:latest
environment:
- MongoDb__ConnectionString=mongodb://admin:password@mongodb:27017
- MongoDb__Database=featbit
- Redis__ConnectionString=redis:6379
depends_on:
- mongodb
- redis
ports:
- "5100:5100"
networks:
- featbit-network
da-server:
image: featbit/featbit-data-analytics-server:latest
depends_on:
- mongodb
- redis
ports:
- "8200:80"
networks:
- featbit-network
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
MONGO_URI: mongodb://admin:password@mongodb:27017
MONGO_INITDB_DATABASE: featbit
MONGO_HOST: mongodb
CHECK_DB_LIVNESS: true
mongodb:
image: mongo:5.0.14
restart: on-failure
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=password
- MONGO_INITDB_DATABASE=featbit
volumes:
- mongodb:/data/db
- ./infra/mongodb/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
networks:
- featbit-network
redis:
image: bitnami/redis:6.2.10
restart: on-failure
environment:
- ALLOW_EMPTY_PASSWORD=yes
networks:
- featbit-network
ports:
- "6379:6379"
volumes:
- redis:/data
networks:
featbit-network:
name: featbit-network
driver: bridge
ipam:
config:
- subnet: 172.10.0.0/16
volumes:
mongodb:
redis: