Docker
Roxy-WI Docker image does not include HAProxy service. It must be installed separately on your server via SSH.
We do not recommend use Docker image in a production environment, for informational purposes only.
Deploy Roxy-WI as a service in Docker Swarm:
docker service create --detach=false \
--name roxy-wi \
--mount type=volume,src=roxy-wi-data,dst=/var/roxy-wi/lib \
--mount type=volume,src=roxy-wi-conf,dst=/etc/roxy-wi \
--mount type=volume,src=r/etc/yum.repos.d/,dst=/etc/yum.repos.d/ \
-p 443:443 -p 8765:8765 registry.roxy-wi.org/roxy-wi
or
docker run -d --name roxy-wi \
-p 443:443 -p 8765:8765 registry.roxy-wi.org/roxy-wi
Add a license key if available.
Roxy-WI uses a Sqlite database by default. Enable MySQL database in the production environment to use it instead:
enable - the default is 0 ( disabled, use SQLITE ) turn on change to 1
mysql_user - the default is "roxy-wi"
mysql_password - the default is "roxy-wi"
mysql_db - the default is "roxywi"
mysql_host - the default is 127.0.0.1
mysql_port - the default is 3306
In order to start using MySQL, you should create a database, a user and grant the privileges to this user:
MariaDB [(none)]> create user 'roxy-wi'@'%';
MariaDB [(none)]> create database roxywi;
MariaDB [(none)]> grant all on roxywi.* to 'roxy-wi'@'%' IDENTIFIED BY 'roxy-wi';
MariaDB [(none)]> grant all on roxywi.* to 'roxy-wi'@'localhost' IDENTIFIED BY 'roxy-wi';
After Database creating, run the script create_db.py inside Roxy-WI container. The script is in folder /var/www/haproxy-wi/
The docker images contain the same versions as the RPM packages:
name "roxy-wi"
tags
7 "3.9.1"
8 "3.9.2"
9 "3.9.4"
10 "3.10.0.0"
11 "3.10.1.0"
12 "3.11.0.0"