-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (42 loc) · 1 KB
/
docker-compose.yaml
File metadata and controls
45 lines (42 loc) · 1 KB
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
services:
sc:
image: fluvio:fluvio
container_name: sc
hostname: sc
ports:
- "9103:9003"
environment:
- RUST_LOG=info
command: "fluvio-run sc --local /fluvio/metadata"
volumes:
- fluvio-metadata:/fluvio/metadata
spu:
image: fluvio:fluvio
container_name: spu
hostname: spu
volumes:
- fluvio-data:/fluvio/data
environment:
- RUST_LOG=info
ports:
- "9110:9010"
- "9111:9011"
command: "fluvio-run spu -i 5001 -p spu:9010 -v spu:9011 --sc-addr sc:9004 --log-base-dir /fluvio/data"
depends_on:
- sc-setup
sc-setup:
image: fluvio:fluvio
container_name: sc-setup
environment:
- RUST_LOG=info
entrypoint: >
/bin/sh -c "
fluvio profile add docker sc:9003 docker;
fluvio cluster spu register --id 5001 --public-server 0.0.0.0:9110 --public-server-local spu:9010 --private-server spu:9011;
exit 0;
"
depends_on:
- sc
volumes:
fluvio-data:
fluvio-metadata: