rConfig - V8 Pro Docker Container
rConfig V8 Professional is an enterprise-grade Network Configuration Management (NCM) software designed to help you easily manage configurations on large and small heterogeneous networks. This guide provides the steps to install rConfig V8 Professional using Docker.
Complete the rConfig Professional installation in Docker by following those steps. Please run
all steps as root
- Clone the Repository
- Login to rConfig Registry
- Configure the .env File
- Start the rConfig Docker Container
- Verify Container is Running
- Complete Installation Inside the Container
- Restart the Docker Container
- Access rConfig V8 Professional
Installation
Section titled “Installation”Prerequisites
Section titled “Prerequisites”Before starting the installation, ensure the following:
- Docker and Docker Compose are installed on your server.
- The data directory should be writable by the web server user inside the Docker container, and the contents of the data directory in this repository should be copied to the data directory on your server. You may clone this repository and copy the contents of the data directory to your server if you wish.
- rConfig Professional Subscription is required for Docker image access. Ensure you have valid credentials for the private registry.
- You need to be logged in as
root
when executing the scripts.
Clone the Repository
Section titled “Clone the Repository”Clone the rConfig V8 Docker
repository to your server:
git clone https://github.com/rconfig/rconfig8docker.gitcd rconfig8docker
Login to rConfig Registry
Section titled “Login to rConfig Registry”Authenticate with the rConfig private Docker registry to pull the rConfig
image. You will need to have a valid subscription to rConfig Professional to access the registry. Credentials are provided by rConfig.
docker login reg.rconfig.com:8443Username: robot$rconfig+yournamePassword: # Enter your credentials
Configure the .env
File
Section titled “Configure the .env File”Navigate to the data
directory and update the .env
file with the following settings:
APP_DEBUG=true/falseAPP_URL=http://yourFQDNorIP.domain.comDB_HOST=db # Database container or external DB serverDB_PORT=ENVOY_DB_PORTDB_DATABASE=ENVOY_DB_DATABASEDB_USERNAME=ENVOY_DB_USERNAMEDB_PASSWORD=ENVOY_DB_PASSWORDRCONFIG_API_TOKEN=ENVOY_API_TOKEN
Start the rConfig Docker Container
Section titled “Start the rConfig Docker Container”Start the container with the following command:
docker-compose up -d
Verify Container is Running
Section titled “Verify Container is Running”Check that the container is running using the following:
docker ps
Complete Installation Inside the Container
Section titled “Complete Installation Inside the Container”Execute the following commands inside the Docker container:
docker exec -it rconfig-container-name bash
# Run the artisan commands to complete the installation:php artisan migratephp artisan key:generatephp artisan passport:install # Answer 'yes' to any promptsphp artisan rconfig:sync-tasksphp artisan rconfig:sync-searchphp artisan rconfig:clear-allphp artisan rconfig:update-rbac-data
# Set permissions for the storage directorychown -R www-data:www-data /var/www/html/rconfig8/current/storagechmod -R 775 /var/www/html/rconfig8/current/storage
Restart the Docker Container
Section titled “Restart the Docker Container”After completing the setup, restart the Docker container:
docker-compose up -d
Access rConfig V8 Professional
Section titled “Access rConfig V8 Professional”You can now access the rConfig V8 Professional
interface at the URL you specified in the .env
.
Once this process has completed without errors you may login to the server IP address or hostname with the following credentials
Username: [email protected]
Password: admin