updating install docs and adding script

This commit is contained in:
afeiszli
2021-10-03 15:50:22 -04:00
parent 1fbf99b2a2
commit 583d843325
53 changed files with 2226 additions and 455 deletions
+3 -10
View File
@@ -2,22 +2,15 @@ version: "3.4"
services:
netmaker:
privileged: true
container_name: netmaker
image: gravitl/netmaker:v0.8
image: gravitl/netmaker:v0.8.2
volumes:
- ./:/local
- /etc/netclient:/etc/netclient
- /etc/netclient/config:/etc/netclient/config
- dnsconfig:/root/config/dnsconfig
- /usr/bin/wg:/usr/bin/wg
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
- /run/systemd/system:/run/systemd/system
- /etc/systemd/system:/etc/systemd/system
- /sys/fs/cgroup:/sys/fs/cgroup
- sqldata:/root/data
cap_add:
- NET_ADMIN
- SYS_MODULE
restart: always
network_mode: host
environment:
@@ -31,7 +24,7 @@ services:
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
API_PORT: "8081"
GRPC_PORT: "50051"
CLIENT_MODE: "on"
CLIENT_MODE: "contained"
MASTER_KEY: "REPLACE_MASTER_KEY"
SERVER_GRPC_WIREGUARD: "off"
CORS_ALLOWED_ORIGIN: "*"