Skip to content

Commit 7152f6c

Browse files
committed
remove references to grpc/comms net
1 parent 886ec31 commit 7152f6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+25
-498
lines changed

compose/docker-compose.contained.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ services:
2020
SERVER_NAME: "broker.NETMAKER_BASE_DOMAIN"
2121
SERVER_HOST: "SERVER_PUBLIC_IP"
2222
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
23-
SERVER_GRPC_CONN_STRING: "grpc.NETMAKER_BASE_DOMAIN:443"
2423
COREDNS_ADDR: "SERVER_PUBLIC_IP"
25-
GRPC_SSL: "on"
2624
DNS_MODE: "on"
2725
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
28-
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
2926
API_PORT: "8081"
30-
GRPC_PORT: "50051"
3127
CLIENT_MODE: "on"
3228
MASTER_KEY: "REPLACE_MASTER_KEY"
3329
CORS_ALLOWED_ORIGIN: "*"

compose/docker-compose.hostnetwork.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,18 @@ services:
1818
environment:
1919
SERVER_HOST: "SERVER_PUBLIC_IP"
2020
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
21-
SERVER_GRPC_CONN_STRING: "grpc.NETMAKER_BASE_DOMAIN:443"
2221
COREDNS_ADDR: "SERVER_PUBLIC_IP"
23-
GRPC_SSL: "on"
2422
DNS_MODE: "on"
2523
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
26-
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
2724
API_PORT: "8081"
28-
GRPC_PORT: "50051"
2925
CLIENT_MODE: "on"
3026
MASTER_KEY: "REPLACE_MASTER_KEY"
31-
SERVER_GRPC_WIREGUARD: "off"
3227
CORS_ALLOWED_ORIGIN: "*"
3328
DISPLAY_KEYS: "on"
3429
DATABASE: "sqlite"
3530
HOST_NETWORK: "on"
3631
NODE_ID: "netmaker-server-1"
3732
MANAGE_IPTABLES: "on"
38-
PORT_FORWARD_SERVICES: ""
3933
VERBOSITY: "1"
4034
netmaker-ui:
4135
container_name: netmaker-ui

compose/docker-compose.nocaddy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ services:
1818
environment:
1919
SERVER_HOST: "SERVER_PUBLIC_IP"
2020
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
21-
SERVER_GRPC_CONN_STRING: "grpc.NETMAKER_BASE_DOMAIN:443"
2221
COREDNS_ADDR: "SERVER_PUBLIC_IP"
23-
GRPC_SSL: "on"
2422
DNS_MODE: "on"
2523
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
26-
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
2724
API_PORT: "8081"
28-
GRPC_PORT: "50051"
2925
CLIENT_MODE: "on"
3026
MASTER_KEY: "REPLACE_MASTER_KEY"
3127
CORS_ALLOWED_ORIGIN: "*"
@@ -35,7 +31,6 @@ services:
3531
MQ_HOST: "mq"
3632
HOST_NETWORK: "off"
3733
MANAGE_IPTABLES: "on"
38-
PORT_FORWARD_SERVICES: "mq"
3934
VERBOSITY: "1"
4035
ports:
4136
- "51821-51830:51821-51830/udp"

compose/docker-compose.nodns.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ services:
1818
environment:
1919
SERVER_HOST: "SERVER_PUBLIC_IP"
2020
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
21-
SERVER_GRPC_CONN_STRING: "grpc.NETMAKER_BASE_DOMAIN:443"
2221
COREDNS_ADDR: "SERVER_PUBLIC_IP"
23-
GRPC_SSL: "on"
2422
DNS_MODE: "off"
2523
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
26-
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
2724
API_PORT: "8081"
28-
GRPC_PORT: "50051"
2925
CLIENT_MODE: "on"
3026
MASTER_KEY: "REPLACE_MASTER_KEY"
3127
CORS_ALLOWED_ORIGIN: "*"
@@ -35,7 +31,6 @@ services:
3531
MQ_HOST: "mq"
3632
HOST_NETWORK: "off"
3733
MANAGE_IPTABLES: "on"
38-
PORT_FORWARD_SERVICES: "mq"
3934
VERBOSITY: "1"
4035
ports:
4136
- "51821-51830:51821-51830/udp"

compose/docker-compose.reference.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,18 @@ services:
1616
restart: always
1717
network_mode: host # Must configure with very particular settngs for host networking to work. Do not just set on!
1818
environment:
19-
SERVER_HOST: "" # All the Docker Compose files pre-populate this with HOST_IP, which you replace as part of the install instructions. This will set both HTTP and GRPC host.
20-
SERVER_HTTP_HOST: "127.0.0.1" # Overrides SERVER_HOST if set. Useful for making HTTP and GRPC available via different interfaces/networks.
21-
SERVER_GRPC_HOST: "127.0.0.1" # Overrides SERVER_HOST if set. Useful for making HTTP and GRPC available via different interfaces/networks.
19+
SERVER_HOST: "" # All the Docker Compose files pre-populate this with HOST_IP, which you replace as part of the install instructions. This will set the HTTP host.
20+
SERVER_HTTP_HOST: "127.0.0.1" # Overrides SERVER_HOST if set. Useful for making HTTP available via different interfaces/networks.
2221
API_PORT: 8081 # The HTTP API port for Netmaker. Used for API calls / communication from front end. If changed, need to change port of BACKEND_URL for netmaker-ui.
23-
GRPC_PORT: 50051 # The GRPC port for Netmaker. Used for communications from nodes.
2422
CLIENT_MODE: "on" # on if netmaker should run its own client, off if not.
2523
MASTER_KEY: "secretkey" # The admin master key for accessing the API. Change this in any production installation.
2624
CORS_ALLOWED_ORIGIN: "*" # The "allowed origin" for API requests. Change to restrict where API requests can come from.
2725
REST_BACKEND: "on" # Enables the REST backend (API running on API_PORT at SERVER_HTTP_HOST). Change to "off" to turn off.
28-
AGENT_BACKEND: "on" # Enables the AGENT backend (GRPC running on GRPC_PORT at SERVER_GRPC_HOST). Change to "off" to turn off.
2926
DNS_MODE: "on" # Enables DNS Mode, meaning config files will be generated for CoreDNS. Note, turning "off" does not remove CoreDNS. You still need to remove CoreDNS from compose file.
3027
DISABLE_REMOTE_IP_CHECK: "off" # If turned "on", Server will not set Host based on remote IP check. This is already overridden if SERVER_HOST is set. Turned "off" by default.
31-
GRPC_SSL: "off" # Tells clients to use SSL to connect to GRPC. Switch to on to turn on.
3228
COREDNS_ADDR: "" # Address of the CoreDNS server. Defaults to SERVER_HOST
3329
DISPLAY_KEYS: "on" # Show keys permanently in UI (until deleted) as opposed to 1-time display.
3430
SERVER_API_CONN_STRING: "" # Changes the api connection string. IP:PORT format. By default is empty and uses SERVER_HOST:API_PORT
35-
SERVER_GRPC_CONN_STRING: "" # Changes the grpc connection string. IP:PORT format. By default is empty and uses SERVER_HOST:GRPC_PORT
3631
RCE: "off" # Enables setting PostUp and PostDown (arbitrary commands) on nodes from the server. Off by default.
3732
NODE_ID: "" # Sets the name/id of the nodes that the server creates. Necessary for HA configurations to identify between servers (for instance, netmaker-1, netmaker-2, etc). For non-HA deployments, is not necessary.
3833
TELEMETRY: "on" # Whether or not to send telemetry data to help improve Netmaker. Switch to "off" to opt out of sending telemetry.

compose/docker-compose.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ services:
1818
environment:
1919
SERVER_HOST: "SERVER_PUBLIC_IP"
2020
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
21-
SERVER_GRPC_CONN_STRING: "grpc.NETMAKER_BASE_DOMAIN:443"
2221
COREDNS_ADDR: "SERVER_PUBLIC_IP"
23-
GRPC_SSL: "on"
2422
DNS_MODE: "on"
2523
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
26-
SERVER_GRPC_HOST: "grpc.NETMAKER_BASE_DOMAIN"
2724
API_PORT: "8081"
28-
GRPC_PORT: "50051"
2925
CLIENT_MODE: "on"
3026
MASTER_KEY: "REPLACE_MASTER_KEY"
3127
CORS_ALLOWED_ORIGIN: "*"
@@ -35,7 +31,6 @@ services:
3531
MQ_HOST: "mq"
3632
HOST_NETWORK: "off"
3733
MANAGE_IPTABLES: "on"
38-
PORT_FORWARD_SERVICES: "mq"
3934
VERBOSITY: "1"
4035
ports:
4136
- "51821-51830:51821-51830/udp"

config/config.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ type ServerConfig struct {
3636
APIConnString string `yaml:"apiconn"`
3737
APIHost string `yaml:"apihost"`
3838
APIPort string `yaml:"apiport"`
39-
GRPCConnString string `yaml:"grpcconn"`
40-
GRPCHost string `yaml:"grpchost"`
41-
GRPCPort string `yaml:"grpcport"`
42-
GRPCSecure string `yaml:"grpcsecure"`
4339
MQHOST string `yaml:"mqhost"`
4440
MasterKey string `yaml:"masterkey"`
4541
DNSKey string `yaml:"dnskey"`
@@ -51,7 +47,6 @@ type ServerConfig struct {
5147
ClientMode string `yaml:"clientmode"`
5248
DNSMode string `yaml:"dnsmode"`
5349
DisableRemoteIPCheck string `yaml:"disableremoteipcheck"`
54-
GRPCSSL string `yaml:"grpcssl"`
5550
Version string `yaml:"version"`
5651
SQLConn string `yaml:"sqlconn"`
5752
Platform string `yaml:"platform"`

config/environments/dev.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
server:
22
apihost: "" # defaults to 127.0.0.1 or remote ip (SERVER_HOST) if DisableRemoteIPCheck is not set to true. SERVER_API_HOST if set
33
apiport: "" # defaults to 8081 or HTTP_PORT (if set)
4-
grpchost: "" # defaults to 127.0.0.1 or remote ip (SERVER_HOST) if DisableRemoteIPCheck is not set to true. SERVER_GRPC_HOST if set.
5-
grpcport: "" # defaults to 50051 or GRPC_PORT (if set)
64
masterkey: "" # defaults to 'secretkey' or MASTER_KEY (if set)
75
allowedorigin: "" # defaults to '*' or CORS_ALLOWED_ORIGIN (if set)
86
restbackend: "" # defaults to "on" or REST_BACKEND (if set)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
10.0.0.2 testnode.skynet myhost.skynet
1+
10.0.0.1 testnode.skynet
2+
10.0.0.2 myhost.skynet

controllers/config/environments/dev.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
server:
22
host: "localhost"
33
apiport: "8081"
4-
grpcport: "50051"
54
masterkey: ""
65
allowedorigin: "*"
76
restbackend: true

0 commit comments

Comments
 (0)