This repository was archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
59 lines (59 loc) · 1.63 KB
/
docker-compose.dev.yml
File metadata and controls
59 lines (59 loc) · 1.63 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
version: "3.7"
services:
base: &base
build:
context: .
dockerfile: docker/Dockerfile
image: star-network-base
stdin_open: true
tty: true
security_opt:
- apparmor:unconfined
- seccomp:unconfined
environment:
- CMAKE_BUILD_TYPE=Debug
dev_server:
<<: *base
command: >
bash -c "chmod -R 777 /var/app/cmake-build-debug-remote &&
chmod -R 777 /var/app/cmake-build-release-remote &&
/usr/sbin/sshd -D"
container_name: star-network-dev-server
ports:
- "2222:22"
- "7777:7777"
volumes:
- ./.git:/var/app/.git
- cmake_build_debug_remote:/var/app/cmake-build-debug-remote
- cmake_build_release_remote:/var/app/cmake-build-release-remote
- conan:/root/.conan
analyze:
<<: *base
cap_add:
- SYS_ADMIN
command: >
bash -c "/bin/bash ./docker/script/build/build_all.bash &&
/bin/bash ./docker/script/analyze/perf.bash"
container_name: star-network-analyze
environment:
- BUILD_DIR=/var/app/cmake-build-debug-remote
- CMAKE_BUILD_TYPE=Debug
volumes:
- ./.git:/var/app/.git
- ./app:/var/app/app
- ./cmake:/var/app/cmake
- ./docker:/var/app/docker
- ./lib:/var/app/lib
- ./test:/var/app/test
- ./tmp:/var/app/tmp
- ./CMakeLists.txt:/var/app/CMakeLists.txt
- ./conanfile.txt:/var/app/conanfile.txt
- cmake_build_debug_remote:/var/app/cmake-build-debug-remote
- conan:/root/.conan
volumes:
cmake_build_debug_remote:
driver: local
cmake_build_release_remote:
driver: local
conan:
driver: local