rConfig V8 Pro Docker Deployment: Containerized Network Management Setup
rConfig V8 Pro Docker Deployment: Containerized Network Management Setup
Section titled “rConfig V8 Pro Docker Deployment: Containerized Network Management Setup”Introduction
Section titled “Introduction”rConfig V8 Professional is an enterprise-grade Network Configuration Management (NCM) platform designed for comprehensive configuration management across heterogeneous network environments of any scale. This guide provides deployment procedures for rConfig V8 Professional using Docker containerization and links to supporting resources such as the full installation guide and the update process.
Prerequisites: Before proceeding, ensure you have reviewed the Operating System Configuration guide and Security Hardening guidelines for container deployment best practices.
Complete the rConfig Professional Docker deployment by executing the following procedures. All
commands require root
user privileges. For organizations operating in offline environments, consult the V8 Pro Offline Installation instructions.
- Clone the Repository
- Authenticate to rConfig Registry
- Configure Environment Variables
- Initialize rConfig Docker Container
- Verify Container Operational Status
- Complete In-Container Installation
- Restart Docker Container
- Access rConfig V8 Professional
Docker Deployment Overview
Section titled “Docker Deployment Overview”Prerequisites
Section titled “Prerequisites”Prior to commencing installation, verify the following requirements:
- Docker and Docker Compose are installed and operational on the target server
- The data directory must be writable by the web server user within the Docker container; contents from the repository data directory should be replicated to the server data directory. The repository may be cloned to facilitate this process.
- rConfig Professional Subscription is required for private registry access. Verify valid registry credentials are available.
- Administrative access (
root
user privileges) is required for script execution.
Deployment Procedures
Section titled “Deployment Procedures”Clone the Repository
Section titled “Clone the Repository”Clone the rConfig V8 Docker
repository to the target server:
git clone https://github.com/rconfig/rconfig8docker.gitcd rconfig8docker
Authenticate to rConfig Registry
Section titled “Authenticate to rConfig Registry”Authenticate with the rConfig private Docker registry to access the rConfig
container image. A valid rConfig Professional subscription is required for registry access. Credentials are provided by rConfig support.
docker login reg.rconfig.com:8443Username: robot$rconfig+yournamePassword: # Enter provided credentials
Configure Environment Variables
Section titled “Configure Environment Variables”Navigate to the data
directory and configure the .env
file with environment-specific parameters:
APP_DEBUG=true/falseAPP_URL=http://yourFQDNorIP.domain.comDB_HOST=db # Database container or external database serverDB_PORT=ENVOY_DB_PORTDB_DATABASE=ENVOY_DB_DATABASEDB_USERNAME=ENVOY_DB_USERNAMEDB_PASSWORD=ENVOY_DB_PASSWORDRCONFIG_API_TOKEN=ENVOY_API_TOKEN
Initialize rConfig Docker Container
Section titled “Initialize rConfig Docker Container”Initialize the container using the following command:
# Use either 'docker compose' (plugin version) or 'docker-compose' (standalone version)docker-compose up -d
Note: Docker Compose may be invoked using either:
docker compose up -d
(Docker Compose plugin - current standard)docker-compose up -d
(Docker Compose standalone binary - legacy method)
Both commands execute identical functionality, starting containers in detached mode.
Verify Container Operational Status
Section titled “Verify Container Operational Status”Verify container execution status:
docker ps
Complete In-Container Installation
Section titled “Complete In-Container Installation”Execute the following commands within the Docker container:
# Enter the container (substitute container name if different)docker exec -it rconfig8docker-app-1 bash
# Execute artisan commands to complete installation:php artisan migratephp artisan key:generatephp artisan passport:install # Respond affirmatively to all promptsphp artisan rconfig:sync-tasks
# Configure storage directory permissionschown -R www-data:www-data /var/www/html/rconfig8/current/storagechmod -R 775 /var/www/html/rconfig8/current/storage
# Clear configuration cache and update RBAC dataphp artisan rconfig:clear-allphp artisan rconfig:update-rbac-data
Restart Docker Container
Section titled “Restart Docker Container”Following configuration completion, restart the Docker container:
# Use either 'docker compose' (plugin version) or 'docker-compose' (standalone version)docker-compose up -d
Note: Docker Compose may be invoked using either:
docker compose up -d
(Docker Compose plugin - current standard)docker-compose up -d
(Docker Compose standalone binary - legacy method)
Access rConfig V8 Professional
Section titled “Access rConfig V8 Professional”Access the rConfig V8 Professional
interface at the URL configured in the .env
file. Upon successful installation completion, authenticate to the server using the following default credentials:
- Username:
[email protected]
- Password:
admin
After first login, follow the security hardening guidance to align the container with enterprise policies.
Next Steps:
- Understand V8 Features and Capabilities
- Review Update Procedures
- Consider Vector Server Upgrade for enhanced capabilities
Post-Installation Verification
Section titled “Post-Installation Verification”Following initial authentication, execute these verification procedures:
- Modify the default account credentials for security compliance
- Navigate to
External Tools
>Queue Manager
and verify Queue Manager active status on the dashboard - Execute
supervisorctl status
via CLI to verify all services are operational. Expected output:
apache2 RUNNING pid 7, uptime 0:13:28horizon RUNNING pid 8, uptime 0:13:28redis-server RUNNING pid 10, uptime 0:13:27schedule-run:schedule-run_00 RUNNING pid 12, uptime 0:13:27
Note for advanced administrators: Cron must execute the php artisan schedule:run
command every minute. This is managed by the schedule-run:schedule-run_00
supervisord service within the Docker container.
Docker Container Update Procedures
Section titled “Docker Container Update Procedures”Registry Version Discovery
Section titled “Registry Version Discovery”To identify available versions in the rConfig registry:
# Verify registry authenticationdocker login reg.rconfig.com:8443
# List available tags/versions (functionality varies by registry implementation)# Alternative: Request available versions from rConfig support
Update to Latest Version
Section titled “Update to Latest Version”Step 1: Stop Current Container
Section titled “Step 1: Stop Current Container”# Use either 'docker compose' (plugin version) or 'docker-compose' (standalone version)docker compose down
Step 2: Backup Data (Recommended)
Section titled “Step 2: Backup Data (Recommended)”Prior to updating, create backups of the data directory and database:
# Backup data directorytar -czf rconfig-data-backup-$(date +%Y%m%d).tar.gz ./data
# Backup database (for external database configurations)# mysqldump -u username -p database_name > rconfig-db-backup-$(date +%Y%m%d).sql
Step 3: Retrieve Latest Container Image
Section titled “Step 3: Retrieve Latest Container Image”# Pull the latest versiondocker compose pull
# Or retrieve a specific version by updating docker-compose.yml# Modify the image tag in docker-compose.yml from 'latest' to the desired version# Example: reg.rconfig.com:8443/rconfig8:v8.1.0docker compose pull
Step 4: Deploy Updated Container
Section titled “Step 4: Deploy Updated Container”# Initialize the updated containerdocker compose up -d
Step 5: Execute Database Migrations (If Required)
Section titled “Step 5: Execute Database Migrations (If Required)”Some updates require database schema migrations. Execute within the container:
# Enter the containerdocker exec -it rconfig8docker-app-1 bash
# Execute migrations (only if required for the specific update)php artisan migrate
# Clear application cachesphp artisan rconfig:clear-all
# Update RBAC data if necessaryphp artisan rconfig:update-rbac-data
Step 6: Verify Update Completion
Section titled “Step 6: Verify Update Completion”Verify all services are operational:
# Verify container statusdocker ps
# Verify services within containerdocker exec -it rconfig8docker-app-1 supervisorctl status
Expected service status:
apache2 RUNNING pid 7, uptime 0:13:28horizon RUNNING pid 8, uptime 0:13:28redis-server RUNNING pid 10, uptime 0:13:27schedule-run:schedule-run_00 RUNNING pid 12, uptime 0:13:27
Rollback Procedures (If Required)
Section titled “Rollback Procedures (If Required)”If issues occur with the updated version:
# Stop current containerdocker compose down
# Modify docker-compose.yml to specify the previous functional version# Example: reg.rconfig.com:8443/rconfig8:v8.0.5
# Retrieve the previous versiondocker compose pull
# Initialize with previous versiondocker compose up -d
# Restore data backup if necessarytar -xzf rconfig-data-backup-YYYYMMDD.tar.gz