-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
63 lines (59 loc) · 1.72 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"
services:
redis:
image: redis
planner:
image: faasm.azurecr.io/planner:${FAABRIC_VERSION}
# The planner entrypoint supports changing the location of the
# planner_server binary. If the binary is not found, it will wait until
# it is built
command: ${PLANNER_ENTRYPOINT_BINARY:-/build/faabric/static/bin}
volumes:
- ./:/code/faabric
- ./build:/build/faabric
environment:
- LOG_LEVEL=debug
cli:
image: ${FAABRIC_CLI_IMAGE}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
- ./:/code/faabric
- ./build:/build/faabric
- ${CONAN_CACHE_MOUNT_SOURCE}:/root/.conan
working_dir: /code/faabric
stdin_open: true
tty: true
privileged: true
environment:
- DEPLOYMENT_TYPE=${FAABRIC_DEPLOYMENT_TYPE:-compose}
- LOG_LEVEL=${LOG_LEVEL:-debug}
- PLANNER_HOST=planner
- PLANNER_PORT=8080
- POINT_TO_POINT_SERVER_THREADS=2
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
depends_on:
- planner
- redis
dist-test-server:
image: ${FAABRIC_CLI_IMAGE}
volumes:
- ./:/code/faabric
- ./build:/build/faabric
- ./conan-cache/:/root/.conan
working_dir: /build/faabric/static
environment:
- DEPLOYMENT_TYPE=${FAABRIC_DEPLOYMENT_TYPE:-compose}
- LOG_LEVEL=debug
- PLANNER_HOST=planner
- PLANNER_PORT=8080
- POINT_TO_POINT_SERVER_THREADS=2
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
command: ./bin/faabric_dist_test_server
depends_on:
- planner
- redis