|
|
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 frontend interface to manage a single or multiple VyoS servers.
Datacenters can to offer their customers (with users, groups and granular control) firewall and router as a service.
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