-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (59 loc) · 1.39 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
version: '3.8'
x-feature-hero-common:
&feature-hero-common
build:
context: .
dockerfile: Dockerfile
environment:
ONLINE_STORE_PASSWORD: ${REDIS_PASSWORD}
USER_ID: ${USER_ID}
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
volumes:
- ./feature_hero_repo:/feature_hero_repo
depends_on:
- redis
services:
maintainer_server:
<<: *feature-hero-common
ports:
- 8888:8888
entrypoint: feast ui
feature_server:
<<: *feature-hero-common
ports:
- 6566:6566
entrypoint: feast serve --host 0.0.0.0
redis:
image: redis/redis-stack:latest
container_name: redis
restart: always
command: "redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}"
environment:
REDISTIMESERIES_ARGS: "RETENTION_POLICY=20"
volumes:
- redis:/data
ports:
- 6379:6379
- 8001:8001
minio:
image: quay.io/minio/minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
ports:
- 9000:9000
- 9001:9001
volumes:
- data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
data:
driver: local
redis:
driver: local