forked from userver-framework/service_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 767 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (27 loc) · 767 Bytes
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
version: "2.3"
services:
service_template-container:
image: ghcr.io/userver-framework/ubuntu-userver-build-base:v1
privileged: true
network_mode: bridge
environment:
- PREFIX=${PREFIX:-~/.local}
- CC
- CCACHE_DIR=/service_template/.ccache
- CCACHE_HASHDIR
- CCACHE_NOHASHDIR
- CCACHE_PREFIX
- CCACHE_SIZE
- CMAKE_OPTS
- CORES_DIR=/cores
- CXX
- MAKE_OPTS
- CMAKE_OPTIONS
volumes:
- .:/service_template:rw
- ./third_party/userver/tools/docker:/tools:ro
ports:
- 8080:8080
working_dir: /service_template
entrypoint:
- /tools/run_as_user.sh