-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcompose.yaml
More file actions
102 lines (97 loc) · 2.48 KB
/
Copy pathcompose.yaml
File metadata and controls
102 lines (97 loc) · 2.48 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
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
102
services:
flame-session-manager:
image: xflops/flame-session-manager:${FLAME_IMAGE_TAG:-dev}
pull_policy: build
build:
context: .
dockerfile: docker/Dockerfile.fsm
environment:
- RUST_LOG=info
volumes:
- ./ci/docker/flame-cluster.yaml:/root/.flame/flame-cluster.yaml
- ./ci/docker/certs:/etc/flame/certs:ro
- ./logs:/usr/local/flame/logs
ports:
- 8080:8080
networks:
- flame-net
flame-object-cache:
image: xflops/flame-object-cache:${FLAME_IMAGE_TAG:-dev}
pull_policy: build
build:
context: .
dockerfile: docker/Dockerfile.foc
environment:
- RUST_LOG=info
volumes:
- ./ci/docker/flame-cluster.yaml:/root/.flame/flame-cluster.yaml
- ./ci/docker/certs:/etc/flame/certs:ro
- flame-cache-storage:/var/lib/flame/cache
- ./logs:/usr/local/flame/logs
ports:
- 9090:9090
networks:
- flame-net
deploy:
resources:
limits:
memory: 12G
flame-executor-manager:
image: xflops/flame-executor-manager:${FLAME_IMAGE_TAG:-dev}
pull_policy: build
build:
context: .
dockerfile: docker/Dockerfile.fem
environment:
- RUST_LOG=info
deploy:
mode: replicated
replicas: 3
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
depends_on:
- flame-object-cache
volumes:
- ./ci/docker/flame-cluster.yaml:/root/.flame/flame-cluster.yaml
- ./ci/docker/certs:/etc/flame/certs:ro
- ./examples:/opt/examples
- type: volume
source: flame-work
target: /usr/local/flame/work
volume:
nocopy: true
- ./logs:/usr/local/flame/logs
- ./work/cache:/usr/local/flame/data/cache
networks:
- flame-net
flame-console:
image: xflops/flame-console:${FLAME_IMAGE_TAG:-dev}
pull_policy: build
build:
context: .
dockerfile: docker/Dockerfile.console
environment:
- RUST_LOG=info
volumes:
- ./ci/docker/flame.yaml:/root/.flame/flame.yaml
- ./ci/docker/certs:/etc/flame/certs:ro
- ./examples:/opt/examples
- ./e2e:/opt/e2e
- ./benchmarks:/opt/benchmarks
- ./work/cache:/usr/local/flame/data/cache
depends_on:
- flame-object-cache
networks:
- flame-net
networks:
flame-net:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/24
volumes:
flame-work:
flame-cache-storage: