-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose_backup.yaml
More file actions
82 lines (71 loc) · 2.02 KB
/
compose_backup.yaml
File metadata and controls
82 lines (71 loc) · 2.02 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
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
78
79
80
81
82
services:
cloudflare-s2s:
image: cloudflared-s2s:staging
#image: bastelbaus/cloudflared-s2s:latest
build:
context: ./
dockerfile: Dockerfile
restart: always
#build:
# context: .
ports: # host_port : docker_port
- 15650:15650 # the WebUI
- 15651:15651 # the REST API
- 51820:51820 # wireguard to test !
volumes:
- "C:/Users/pagantroll/Dokumente/01_Projekte/06_Software_Programming/15_cloudflared-s2s/app:/var/app2"
#volumes:
# - ./app:/app # mounting local app directory
# - ~/cloudflared-mgr:/source
environment:
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
# - PUID=1000 # change this to your user id
# - PGID=1000 # change this to your group id
# - STORAGE_SECRET="change-this-to-yor-own-private-secret"
# some additonal settings needed for routing
#network_mode: "host"
cap_add:
- NET_ADMIN
sysctls:
#- net.ipv6.conf.all.disable_ipv6=0
- net.ipv4.conf.all.src_valid_mark=1
networks:
control_network:
ipv4_address: 192.168.9.2
wireguard_bridge:
networks:
control_network:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: "192.168.9.2"
com.docker.network.bridge.gateway_mode_ipv4: "routed"
# com.docker.network.bridge.name: control_network
ipam:
config:
- subnet: "192.168.8.0/23"
gateway: "192.168.9.1"
ip_range: "192.168.8.0/23"
wireguard_bridge:
driver: bridge
driver_opts:
com.docker.network.bridge.name: wgb
com.docker.network.bridge.inhibit_ipv4: "true"
ipam:
config:
- subnet: "192.168.22.0/24"
gateway: "192.168.22.1"
# networks:
# macvlan:
# ipv4_address: 192.168.10.17
#networks:
# macvlan:
# name: macvlan
# driver: bridge
# #driver: macvlan
# driver_opts:
# parent: eth0
# ipam:
# config:
# - subnet: "192.168.10.0/24"
# gateway: "192.168.10.1"
# ip_range: "192.168.1.60/28"