Dockerized GenieACS (a blazing fast TR-069 Auto Configuration Server)
5.6K
GenieACS is a blazing fast TR-069 auto configuration server (ACS) built with Node.js, Redis, and MongoDB. It's technology neutral and configurable to fit any service provider needs. This is the core back end component. Official front end GUI is available at https://github.com/zaidka/genieacs-gui.
Install Node.js, Redis, and MongoDB. Refer to the corresponding documentation for installation guides. Then use NPM to install GenieACS by typing:
npm install -g genieacs
You may need to modify the configuration files under "config" directory (in /lib/node_modules/genieacs/config) depending on your setup.
Alternatively, you can install from source by cloning the git repository:
cd /opt
git clone https://github.com/zaidka/genieacs.git --branch v1.0
cd genieacs
npm install
npm run configure
npm run compile
Finally, run the following in GNU Screen session or something similar:
genieacs-cwmp
This is the service that the CPEs will communicate with. It listens to port 7547 by default (see config/config.json). Configure the ACS URL of your devices accordingly.
genieacs-nbi
This is the northbound interface module. It exposes a REST API on port 7557 by default. This is needed for the GUI front end to communicate with.
genieacs-fs
This is the file server from which the CPEs will download firmware images and other types of files.
You can use stream redirection to output to log files:
genieacs-cwmp >> /var/log/genieacs-cwmp.log 2>> /var/log/genieacs-cwmp-err.log
genieacs-nbi >> /var/log/genieacs-nbi.log 2>> /var/log/genieacs-nbi-err.log
genieacs-fs >> /var/log/genieacs-fs.log 2>> /var/log/genieacs-fs-err.log
For further details about installation and configuration, refer to the wiki section.
You may now proceed with installing GenieACS GUI front end.
git clone https://github.com/zaidka/genieacs.git --branch v1.0
cd genieacs/
docker build . -t genieacs
All configuration variables of config.json have been exposed as environment variable for the docker image with prefix "GENIEACS_"
Refer: GenieACS General Config
You can view the "Dockerfile" for the default parameters set for this image. As, the configuration parameters are exposed as environment variables, they can be overridden at rutime. This is will briefly described later in this documentation.
docker run -d --name redis redis:alpine
docker run -d --name mongodb mongo
docker run -d --name genie-cwmp -p7547:7777 --link mongodb:mongodb --link redis:redis genieacs [start-cwmp]
docker run -d --name genie-nbi -p7557:7777 --link mongodb:mongodb --link redis:redis genieacs start-nbi
docker run -d --name genie-fs -p7567:7777 --link mongodb:mongodb --link redis:redis genieacs start-fs
docker run -d --name genie-cwmp -p7547:7777 -e GENIEACS_MONGODB_CONNECTION_URL="< MONGODB_CONNECTION_URL >" -e GENIEACS_REDIS_HOST="< REDIS_HOST >" [ -e .... ] [start-cwmp]
docker run -d --name genie-nbi -p7557:7777 -e GENIEACS_MONGODB_CONNECTION_URL="< MONGODB_CONNECTION_URL >" -e GENIEACS_REDIS_HOST="< REDIS_HOST >" [ -e .... ] [start-nbi]
docker run -d --name genie-fs -p7567:7777 -e GENIEACS_MONGODB_CONNECTION_URL="< MONGODB_CONNECTION_URL >" -e GENIEACS_REDIS_HOST="< REDIS_HOST >" [ -e .... ] [start-fs]
docker-compose up -d [ -f docker-compose.yml ]
docker-compose up -d -f docker-compose.nbi.yml
docker-compose up -d -f docker-compose.yml -f docker-compose.nbi.yml -f docker-compose.fs.yml
The Users mailing list is a good place to get guidance and help from the community. Head on over and join the conversation! In addition, the wiki provides useful documentation and tips from GenieACS users.
You may submit bug reports or feature requests here. For device interoperability issues, please consult the mailing list first — it's likely that a workaround already exists.
For commercial support options and professional services, please visit genieacs.com.
Contributions are welcome. Fork this repo and open a pull request and wait for feedback. You can also contribute by enhancing the documentation in the wiki section.
Content type
Image
Digest
Size
247.9 MB
Last updated
over 9 years ago
docker pull thebinary/genieacs