volumes:# Volume mounts necessary for CLIENT_MODE to control wireguard networking on host (except dnsconfig, which is where dns config files are stored for use by CoreDNS)
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.
SERVER_HTTP_HOST:"127.0.0.1"# Overrides SERVER_HOST if set. Useful for making HTTP and GRPC available via different interfaces/networks.
SERVER_GRPC_HOST:"127.0.0.1"# Overrides SERVER_HOST if set. Useful for making HTTP and GRPC available via different interfaces/networks.
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.
GRPC_PORT:50051# The GRPC port for Netmaker. Used for communications from nodes.
MASTER_KEY:"secretkey"# The admin master key for accessing the API. Change this in any production installation.
CORS_ALLOWED_ORIGIN:"*"# The "allowed origin" for API requests. Change to restrict where API requests can come from.
REST_BACKEND:"on"# Enables the REST backend (API running on API_PORT at SERVER_HTTP_HOST). Change to "off" to turn off.
AGENT_BACKEND:"on"# Enables the AGENT backend (GRPC running on GRPC_PORT at SERVER_GRPC_HOST). Change to "off" to turn off.
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.
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.
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.
TELEMETRY:"on"# Whether or not to send telemetry data to help improve Netmaker. Switch to "off" to opt out of sending telemetry.
MQ_HOST:"mq"# the address of the mq server. If running from docker compose it will be "mq". Otherwise, need to input address. If using "host networking", it will find and detect the IP of the mq container.
HOST_NETWORK:"off"# whether or not host networking is turned on. Only turn on if configured for host networking (see docker-compose.hostnetwork.yml). Will set host-level settings like iptables.
MANAGE_IPTABLES:"on"# set iptables on the machine being managed in order to forward properly from wireguard interface to MQ and other services listed in "port forward services"
PORT_FORWARD_SERVICES:"mq,dns,ssh"#services for which to configure port forwarding on the machine. 'ssh' forwards port 22 over wireguard, enabling ssh to server over wireguard. dns enables private dns over wireguard. mq enables mq.