forked from AnantaaKotal/AgentCyTE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.12 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
services:
nginx:
profiles: ["nginx"]
build:
context: ./nginx
dockerfile: Dockerfile
container_name: core-topo-gen-proxy
ports:
- "80:80"
- "443:443"
volumes:
# Host-web mode by default: proxy to Web UI running on the host at 127.0.0.1:9090
- ./nginx/nginx-hostweb.conf:/etc/nginx/nginx.conf:ro
- ./nginx/certs:/etc/nginx/certs
environment:
- CERT_DAYS=${CERT_DAYS:-365}
- CERT_SUBJECT=${CERT_SUBJECT:-/CN=localhost}
- CERT_SANS=${CERT_SANS:-}
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
networks:
- app_net
envoy:
profiles: ["envoy"]
image: envoyproxy/envoy:v1.31-latest
container_name: core-topo-gen-envoy
command: ["-c", "/etc/envoy/envoy.yaml"]
ports:
- "80:80"
- "443:443"
- "9901:9901" # admin
volumes:
- ./envoy/envoy.yaml:/etc/envoy/envoy.yaml:ro
- ./nginx/certs:/etc/envoy/certs
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
networks:
- app_net
networks:
app_net:
driver: bridge