generated from userver-framework/service_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 984 Bytes
/
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
version: "3.8"
services:
authorization_service-container:
image: ghcr.io/userver-framework/ubuntu-22.04-userver-base-ci:latest
privileged: true
environment:
- PREFIX=${PREFIX:-~/.local}
- CC
- CCACHE_DIR=/authorization_service/.ccache
- CCACHE_HASHDIR
- CCACHE_NOHASHDIR
- CCACHE_PREFIX
- CCACHE_SIZE
- CMAKE_OPTS
- CORES_DIR=/cores
- CXX
- MAKE_OPTS
- CMAKE_COMMON_FLAGS
volumes:
- .:/authorization_service:rw
- ./third_party/userver/tools/docker:/tools:ro
ports:
- '8080:8080'
- '8081:8081'
working_dir: /authorization_service
entrypoint:
- /tools/run_as_user.sh
networks:
- dockerbridge
networks:
dockerbridge:
enable_ipv6: true
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: "true"
ipam:
driver: default
config:
- subnet: 2001:3984:3989::/64
gateway: 2001:3984:3989::1