forked from faasm/faasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-k8s.yml
39 lines (36 loc) · 1 KB
/
docker-compose-k8s.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
version: "3"
services:
faasm-cli:
image: ${FAASM_CLI_IMAGE}
working_dir: /usr/local/code/faasm
network_mode: host
stdin_open: true
tty: true
environment:
- LD_LIBRARY_PATH=/build/faasm/third-party/lib:/usr/local/lib
volumes:
- ./faasm.ini:/root/.config/faasm.ini
- ./:/usr/local/code/faasm/
- ${FAASM_BUILD_DIR}:${FAASM_BUILD_MOUNT}
- ./dev/faasm-local/:${FAASM_LOCAL_MOUNT}
- ${CONAN_CACHE_MOUNT_SOURCE}:/root/.conan
cpp-cli:
image: ${CPP_CLI_IMAGE}
working_dir: /code/cpp
network_mode: host
stdin_open: true
tty: true
volumes:
- ./faasm.ini:/root/.config/faasm.ini
- ./clients/cpp:/code/cpp
- ./dev/faasm-local/:${FAASM_LOCAL_MOUNT}
python-cli:
image: ${PYTHON_CLI_IMAGE}
working_dir: /code/python
network_mode: host
stdin_open: true
tty: true
volumes:
- ./faasm.ini:/root/.config/faasm.ini
- ./clients/python:/code/python
- ./dev/faasm-local/:${FAASM_LOCAL_MOUNT}