This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
77 lines (72 loc) · 1.77 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
69
70
71
72
73
74
75
76
77
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2019-2020 Intel Corporation
# TODO: Expose ports only to a local network address
version: '3.2'
services:
eaa:
build:
context: ./dist/eaa
args:
username: eaa
image: "eaa:${VER}"
read_only: true
security_opt:
- no-new-privileges:false
ports:
- "192.168.122.1:443:443"
- "192.168.122.1:80:80"
volumes:
- "/var/lib/appliance/certs:/home/eaa/certs"
- "/var/lib/appliance/configs:/home/eaa/configs"
network_mode: bridge
edgednssvr:
ports:
- "192.168.122.128:53:53/udp"
container_name: mec-app-edgednssvr
build:
context: ./dist/edgednssvr
args:
username: edgednssvr
image: "edgednssvr:${VER}"
read_only: true
security_opt:
- no-new-privileges:false
cap_add:
- NET_ADMIN
volumes:
- "/var/lib/appliance/edgednssvr:/var/lib/edgedns"
command:
- "-port=53"
- "-fwdr=8.8.8.8"
environment:
- http_proxy
- https_proxy
network_mode: bridge
interfaceservice:
container_name: interfaceservice
build:
context: ./dist/interfaceservice
args:
username: interfaceservice
image: "interfaceservice:${VER}"
security_opt:
- no-new-privileges:false
privileged: true
volumes:
- "/var/lib/appliance/configs:/home/interfaceservice/configs"
- "/var/lib/appliance/certs:/home/interfaceservice/certs"
- "/var/run:/var/run"
network_mode: host
certsigner:
build:
context: ./dist/certsigner
args:
username: certsigner
image: "certsigner:${VER}"
read_only: true
certrequester:
build:
context: ./dist/certrequester
args:
username: certrequester
image: "certrequester:${VER}"