-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1009 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 1009 Bytes
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
services:
wazigate-system:
image: waziup/wazigate-system:latest
container_name: waziup.wazigate-system
build:
context: ./
volumes:
- ./:/root/app
- ./resolv.conf:/etc/resolv.conf
- /var/run:/var/run
# - /var/run/dbus:/var/run/dbus
- /sys/class/gpio:/sys/class/gpio
- /dev/mem:/dev/mem
- ./:/go/src/github.com/Waziup/wazigate-system
- /etc/NetworkManager:/etc/NetworkManager
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket
- /sys/class/net:/sys/class/net:ro
- /etc/openvpn:/etc/openvpn
- /root/.cert/nm-openvpn:/root/.cert/nm-openvpn
- /run/NetworkManager:/run/NetworkManager
privileged: true
network_mode: host
environment:
- DEBUG_MODE=1
healthcheck:
test: curl --fail --unix-socket /root/app/proxy.sock http://localhost/ || exit 1
interval: 30s
retries: 10 # Will try for 5 minutes
restart: always
security_opt:
- "seccomp:unconfined"