-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
50 lines (50 loc) · 1.1 KB
/
docker-compose.yaml
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
version: "3.8"
networks:
legacy:
name: legacy
cloudnative:
name: cloudnative
services:
nginx:
networks:
- cloudnative
image: nginx
server:
networks:
- legacy
- cloudnative
image: ghcr.io/fi-ts/cloud-gateway:latest
volumes:
- /dev/net/tun:/dev/net/tun
- ./server:/etc/cloudgateway
cap_add:
- NET_ADMIN
environment:
- CLOUD_GATEWAY_ENGINE=boringtun
- CLOUD_GATEWAY_LOG_LEVEL=debug
client-cloudnative:
networks:
- cloudnative
image: ghcr.io/fi-ts/cloud-gateway:latest
volumes:
- /dev/net/tun:/dev/net/tun
- ./client/cloudnative:/etc/cloudgateway
cap_add:
- NET_ADMIN
environment:
- CLOUD_GATEWAY_ENGINE=boringtun
- CLOUD_GATEWAY_LOG_LEVEL=debug
client-legacy:
networks:
- legacy
image: ghcr.io/fi-ts/cloud-gateway:latest
volumes:
- /dev/net/tun:/dev/net/tun
- ./client/legacy:/etc/cloudgateway
cap_add:
- NET_ADMIN
environment:
- CLOUD_GATEWAY_ENGINE=boringtun
- CLOUD_GATEWAY_LOG_LEVEL=debug
ports:
- 8080:8080