Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

rconfig/rconfig6docker

Repository files navigation


rConfig Logo

rConfig v6 Core Docker Setup

rConfig v6 Core is a free, open source, community edition of rConfig v6. It is a fully functional version of rConfig v6, with all the core features of rConfig v6 Professional, but with some limitations. Check out our features list to learn more.

Explore the docs »

Intro · Installation · Updating · Contributing · License · Support

Tests License Made with Node PHP Version Require

Intro

rConfig v6 Docker Setup is a set of scripts to help you get started with rConfig V6 Core on Docker. rConfig V6 Coreis an enterprise grade Network Configuration Management (NCM) software package with superior NCM features and capabilities to help you easily manage configurations on large and small heterogenous networks. rConfig v6 is our flagship professional version of rConfig aimed at high value networks and business operations. rConfig v6 runs natively on many variants of Linux. Within this repo, we have developed docker compose - Dockerfile files and related artifacts to allow our customers run rConfig v6 within a Docker environment.

If you are looking for rConfig V6 professional, please visit https://www.rconfig.com/.

Supported OS

  • Rocky Linux 8/9+
  • RHEL Linux 8/9+
  • CentOS Linux 8/9+
  • Ubuntu 20.04+

rConfig v6 core is completely free, you do not need an API key from rConfig to download and use this version. Please follow the instructions below to get started.

rConfig Editions

Feature rConfig Core rConfig Professional
Configuration Backup
Multi-Vendor Support
Unlimited Devices
Enterprise Features
API Access
Premium Support

Check out more on our features page.

(back to top)

Installation

We have made it super easy to get started with rConfig v6 on Docker. Follow the steps below to get started.

Prerequisites

  • Docker & Docker Compose installed on your server

Note You will need to be logged in as root when running the scripts.

Steps

rConfig Setup Steps

  1. Login as root
  2. Clone this repository to your server
git clone https://github.com/rconfig/rconfig6docker.git
  1. Change directory to the repo
cd rconfig6docker
  1. Edit the .env file and update the following variables:
cd /data
APP_URL="https://SERVER.DOMAIN.LOCAL" # Your FQDNorIP domain
DB_HOST=db # This is the name of the database container or other server if you are using an external database
DB_PORT=3306 # The port of the database server
DB_DATABASE=DBNAME # The name of the database, this can be anything if you are creating a new database
DB_USERNAME=DBUSER # The username for the database
DB_PASSWORD=DBPASS # The password for the database
  1. Run the following command to start the rConfig V6 Docker container:
cd /rconfig6docker
docker-compose up -d --build
  1. Verify that the container is running by running the following command:
docker-compose ps
  1. Once the containers are up and running with no errors from the previous output, login to the app container.
docker exec -it {app container name} /bin/bash
  1. You need to complete the installation by running the following commands inside the container:
php artisan migrate

If you area asked Do you want to run this command?', type yes and press enter. The output from the above should look like this:

                                    APPLICATION IN PRODUCTION.


 ┌ Are you sure you want to run this command? ──────────────────┐
 │ Yes                                                          │
 └──────────────────────────────────────────────────────────────┘

   INFO  Preparing database.

  Creating migration table ............................................................. 26ms DONE


   INFO  Running migrations.

  2016_06_01_000001_create_oauth_auth_codes_table ...................................... 42ms DONE
  2016_06_01_000002_create_oauth_access_tokens_table ................................... 40ms DONE
  
php artisan key:generate
php artisan passport:install
php artisan rconfig:sync-tasks
php artisan rconfig:clear-all
chown -R www-data:www-data /var/www/html/rconfig/storage
chmod -R 775 /var/www/html/rconfig/storage
  1. Open your browser and navigate to your server's domain name, the default port for the web app is 8080. You should see the rConfig login page. The default system credentials are below. Please change or remove these as soon as a new admin user is created.

Username: admin@domain.com Password: admin

Check out our docs v6docs.rconfig.com to learn more

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. We are pretty strict on code quality and style. Please follow the best practices. You should also have a strong working knowledge of PHP, Laravel, and VueJS.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request for approval to merge into the develop branch

How to run tests

  1. Create a new database for testing
  2. Copy the .env.example file to .env.testing
  3. php artisan key:generate --env=testing
  4. change the APP_ENV variable in the .env.testing file to testing
  5. Update the .env.testing file with the correct database credentials
  6. Run the tests with php artisan test

(back to top)

License

This code base for this repository's code is distributed under License from rConfig. See LICENSE.txt for more information. rConfig v6 Professional is excluded from this license and repository.

(back to top)

Support

Although we provide this code free and open source, rConfig v6 core is based best effort support basis. You may open issues in the issue section here at github. We will try to address issues in a timely manner, but without guarantees. For prompt support and business critical environments, you should take out a subscription for rCOnfig v6 Professional. rConfig Professional subscribers should open a ticket via our normal support channels.

Acknowledgments

Inspiration, code snippets, etc.

See composer.json and package.json for a full list of dependencies, and their licenses.

About

rconfig6docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •