forked from faasm/faabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (64 loc) · 1.99 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
version: "3"
services:
redis:
image: redis
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:
- LOG_LEVEL=debug
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
- ASAN_OPTIONS=verbosity=1:halt_on_error=1
- TSAN_OPTIONS=halt_on_error=1:suppressions=/code/faabric/thread-sanitizer-ignorelist.txt:history_size=7:second_deadlock_stack=1
- UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1
depends_on:
- redis
dist-test-server:
image: ${FAABRIC_CLI_IMAGE}
volumes:
- ./:/code/faabric
- ./build:/build/faabric
- ./conan-cache/:/root/.conan
working_dir: /build/faabric/static
environment:
- LOG_LEVEL=debug
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
command: ./bin/faabric_dist_test_server
depends_on:
- redis
base-cli:
image: ${FAABRIC_BASE_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:
- LOG_LEVEL=debug
- REDIS_STATE_HOST=redis
- REDIS_QUEUE_HOST=redis
- OVERRIDE_CPU_COUNT=${OVERRIDE_CPU_COUNT:-0}
- ASAN_OPTIONS=verbosity=1:halt_on_error=1
- TSAN_OPTIONS=halt_on_error=1:suppressions=/code/faabric/thread-sanitizer-ignorelist.txt:history_size=7:second_deadlock_stack=1
- UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=1
- FAABRIC_DOCKER="on"
depends_on:
- redis