|
vor 4 Jahren | |
---|---|---|
.github | vor 5 Jahren | |
vycontrol | vor 4 Jahren | |
.dockerignore | vor 5 Jahren | |
.gitignore | vor 4 Jahren | |
Dockerfile | vor 5 Jahren | |
LICENSE | vor 5 Jahren | |
README.md | vor 4 Jahren | |
docker-compose.yml | vor 4 Jahren | |
requirements.txt | vor 4 Jahren |
VyControl is web frontend interface to manage a single or multiple VyoS servers. It is developed in Python/Django using VyOS API.
VyControl can be a web gui for one single VyOS installation, but it requires a separeted webserver from VyOS to a single network admin user or a TI department from a company
VyControl can be a web gui for multiple VyOS installation in a same enterprise, to a single network admin user or a TI department from a company
VyControl can be a web gui for multiple VyOS installation in a datacenter. Each of datacenter customer have a VyControl user to manage their own VyOSes (each user can manage several VyOS).
for your security edit SECRET_KEY in inside Django settings/production.py and change to something random, maybe using
openssl rand -hex 32
latest VyControl is being autobuilt at dockerhub https://hub.docker.com/r/robertoberto/vycontrol
docker pull robertoberto/vycontrol
docker run -p 8000:8000 -t robertoberto/vycontrol
access http://127.0.0.1:8000
Right now we are using db.sqlite3, but I used composer so we can change to mySQL if needed.
docker-compose build
docker-compose up
virtualenv env
source env/bin/activate
pip3 install -r requirements.txt
cd vycontrol
python3 manage.py migrate
python3 manage.py runserver
VyControl send email to users when they click on Forget Password. So you need to setup a email provider to be able to use this features.
change according your mail provider, you can use gmail accounts, sendergrid, amazon ses, mailgun etc
EMAIL_HOST = 'email-smtp.us-east-1.amazonaws.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'user'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True