Comments (3)
I think this question is related to the repo's netmaker-server.sh file
reference: #124
I think I found *part of the problem why I have a dev.yaml and no ENV.yaml.
But in addition it seems like the user: and pass: below overwrite what
I passed as my "user" and "pass" when I installed?
In the Netmaker repo:
https://raw.githubusercontent.com/gravitl/netmaker/v0.2/netmaker-server.sh
#!/bin/sh
set -e
mkdir -p /etc/netmaker/config/environments
wget -O /etc/netmaker/netmaker https://github.com/gravitl/netmaker/releases/download/latest/netmaker
chmod +x /etc/netmaker/netmaker
cat >/etc/netmaker/config/environments/dev.yaml<<EOL
server:
host:
apiport: "8081"
grpcport: "50051"
masterkey: "secretkey"
allowedorigin: "*"
restbackend: true
agentbackend: true
defaultnetname: "default"
defaultnetrange: "10.10.10.0/24"
createdefault: true
mongoconn:
user: "mongoadmin"
pass: "mongopass"
host: "localhost"
port: "27017"
opts: '/?authSource=admin'
EOL
cat >/etc/systemd/system/netmaker.service<<EOL
[Unit]
Description=Netmaker Server
After=network.target
[Service]
Type=simple
Restart=on-failure
WorkingDirectory=/etc/netmaker
ExecStart=/etc/netmaker/netmaker
[Install]
WantedBy=multi-user.target
EOL
systemctl daemon-reload
systemctl start netmaker.service
from netmaker.
Apologies, please refer to #124. But again, you can have multiple config files, and the docs should probably read something like this:
"If any settings are incorrect such as host or mongo credentials, change them under /etc/netmaker/config/environments/< your env >.yaml (by default this will be dev.yaml), and then run sudo systemctl restart netmaker
from netmaker.
thanks...
from netmaker.
Related Issues (20)
- [Bug]: Error Status: 502 Response (on install) HOT 1
- [Bug]: CoreDNS - cannot assing requested address HOT 5
- [Bug]: https://raw.githubusercontent.com/gravitl/netmaker/master/scripts/nm-certs.sh is missing HOT 5
- [Bug]: Installation fails HOT 5
- How to install netclient on Wireguard-go HOT 1
- [Bug]: multiple nodes (mesh clients) behind a single firewall/router cannot reach each other HOT 10
- Problem regarding modifying the ACL using the API HOT 3
- [Feature]: Please add wechat and Alipay to stripe subscription
- [Bug]: netclient container reports log file not existed HOT 2
- [Bug]: Cannot generate certificate via Caddy when ISP blocks port 80 HOT 1
- [Bug]: Windows application event log has the same Event ID (0) for all netclient events HOT 3
- [Bug]: Connecting between lxc containers behind nat HOT 3
- [Bug]: Azure AD authentication fails with a working configuration from v0.21.2 -> v0.22.0+ HOT 3
- [Bug]: auth provider redirect URL is wrong for custom public API port HOT 1
- Why can't my nodes reach each other directly? HOT 5
- [Bug]: IPv6 not assigned with netclient on MacOS HOT 1
- [Bug]: The connection between the servers is interrupted for a second if the connection to the server(netmaker) is lost HOT 6
- [Bug]: Cannot Access The Api Server - Netmaker HOT 3
- [Bug]: After a while, it always needs to be manually click "Refresh Hosts Keys" HOT 22
- [Issue]: Netclient / installer is flagged as mailcious application HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netmaker.