Docker Installation¶
Docker is the easiest and fastest way to install Vigilio. In order to install Vigilio via docker, you need to have both docker and docker-compose installed. You can find instructions on how to install docker and docker-compose by following links.
How to install and run Vigilio¶
git clone https://github.com/tugcanolgun/vigilio.git
cd vigilio
docker-compose up -d
http://localhost:8000
admin
adminadmin
Important
Please head to After Installation page to see the instructions on how to set up Vigilio.
Change default port¶
You can change the default port 8000
by changing the port value under nginx
in docker-compose.yml
file.
Running docker behind nginx¶
It is recommended that you run docker behind nginx.
sudo touch /etc/nginx/site-available/example.com
# Change example.com
with your domain
sudo ln -s /etc/nginx/site-available/example.com /etc/nginx/site-enabled/example.com
sudo nano /etc/nginx/site-enabled/example.com
or sudo vim /etc/nginx/site-enabled/example.com
server {
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name example.com; # Change this with your domain
location / {
include proxy_params;
proxy_pass http://localhost:8000; # Default is port 8000, change if necessary
}
location /static/ {
alias /home/user/vigilio/statics/; # Change this according to your installation
}
}
sudo nginx -t
sudo nginx -s reload