forked from spr-networks/super
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-prebuilt.yml
149 lines (149 loc) · 3.65 KB
/
docker-compose-prebuilt.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
version: '3.4'
services:
base:
container_name: superbase
image: ghcr.io/spr-networks/super_base
network_mode: host
privileged: true
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
dhcp:
container_name: superdhcp
image: ghcr.io/spr-networks/super_dhcp
network_mode: host
privileged: true
depends_on:
- "base"
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
- ./configs/dhcp/:/configs/dhcp/
- ./configs/zones/:/configs/zones/
- ./state/dhcp/:/state/dhcp/
- /sys/fs/bpf:/sys/fs/bpf
dhcp_client:
container_name: superdhcp_client
image: ghcr.io/spr-networks/super_dhcp_client
network_mode: host
privileged: true
depends_on:
- "base"
logging:
driver: journald
entrypoint: /scripts/client.sh
volumes:
- ./configs/base/:/configs/base/
dns:
container_name: superdns
image: ghcr.io/spr-networks/super_dns
network_mode: host
privileged: true
logging:
driver: journald
depends_on:
- "base"
volumes:
- ./configs/base/:/configs/base/
- ./configs/dns/:/configs/dns/
- ./state/dns/:/state/dns/
wifid:
container_name: superwifid
image: ghcr.io/spr-networks/super_wifid
network_mode: host
privileged: true
logging:
driver: journald
depends_on:
- "dhcp"
- "dns"
- "multicast_udp_proxy"
volumes:
- ./configs/base/:/configs/base/
- ./configs/wifi/:/configs/wifi/
- ./state/wifi/:/state/wifi/
multicast_udp_proxy:
container_name: super_multicast_udp_proxy
image: ghcr.io/spr-networks/super_multicast_udp_proxy
network_mode: host
privileged: true
depends_on:
- "base"
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
ppp:
container_name: superppp
image: ghcr.io/spr-networks/super_ppp
network_mode: host
privileged: true
depends_on:
- "base"
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
- ./configs/ppp/:/etc/ppp/
# watchdog:
# entrypoint: ["/bin/true"]
# container_name: superwatchdog
# image: ghcr.io/spr-networks/super_watchdog
# network_mode: host
# depends_on:
# - "base"
# - "wifid"
# logging:
# driver: journald
# volumes:
# - ./configs/base/:/configs/base/
# - ./configs/watchdog/:/configs/watchdog/
# devices:
# - "/dev/watchdog:/dev/watchdog"
wireguard:
container_name: superwireguard
image: ghcr.io/spr-networks/super_wireguard
network_mode: host
privileged: true
depends_on:
- "base"
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
- ./configs/wireguard/:/configs/wireguard/
frontend:
container_name: superfrontend
network_mode: none
image: ghcr.io/spr-networks/super_frontend
entrypoint: ["cp", "-RT", "/build/", "/frontend/build"]
volumes:
- ./frontend/:/frontend
api:
container_name: superapi
image: ghcr.io/spr-networks/super_api
network_mode: host
privileged: true
restart: always
depends_on:
- "base"
- "wifid"
- "dhcp"
- "frontend"
logging:
driver: journald
volumes:
- ./configs/base/:/configs/base/
- ./configs/zones/:/configs/zones/
- ./configs/wifi/:/configs/wifi/
- ./configs/scripts/:/configs/scripts/
- ./state/wifi/:/state/wifi/
- ./state/dhcp/:/state/dhcp/
- ./state/api/:/state/api/
- ./state/dns/:/state/dns/
- ./frontend/build:/ui/
networks:
default:
driver: none