GithubHelp home page GithubHelp logo

docker-unimus's Introduction

Unimus in Docker

Unimus is a multi-vendor network device configuration backup and management solution, designed from the ground up with user friendliness, workflow optimization and ease-of-use in mind.

Build

docker build -t croc/unimus .

Run

You've to have a DB for the Unimus. You can use HSQL (local - file based) or MySQL (with an other container) for the backend DB.

with HSQL

docker run -tid --name=unimus -p 8085:8085 -e /srv/unimus/config:/etc/unimus/ -v /srv/unimus/db:/var/unimus/hsql croc/unimus /opt/start.sh

with MySQL

Start your MySQL container for Unimus:

docker run -tid --name=unimus-db -v /srv/unimus/db:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=supersecret -e MYSQL_DATABASE=unimus -e MYSQL_USER=unimus -e MYSQL_PASSWORD=secret mariadb

Start your Unimus:

docker run -tid --name=unimus -p 8085:8085 -v /srv/unimus/config:/etc/unimus/ --link=unimus-db:db croc/unimus /opt/start.sh

You have to use these parameters with Unimus' MySQL config:

  • db host: db (if you've started with docker-compose, use the name of the database container unimus-db)
  • db: unimus
  • db user: unimus
  • db pass: secret

Good for a test, but not too secure.

Docker compose

I've written a docker-compose.yml file for easier start with database.

Start:

docker-compose up -d

...and that's it :)

Usage

Default Unimus' URL is http://< your docker host>:8085 , example: http://192.168.56.103:8085

You have to configure your Unimus after the first start on this URL.

You have to register on https://unimus.net/ for license keys.

Update

If you want to update unimus with this "stack".

  • stop all containers ( example: docker stop unimus unimus-db or docker-compose stop )
  • remove all containers ( example: docker rm -v unimus unimus-db or docker-compose rm -v -f )
  • pull new images ( example: docker pull croc/unimus and docker pull mariadb or remove images to pull new docker rmi croc/unimus mariadb )
  • start the stack again

Good luck!

docker-unimus's People

Contributors

crocandr avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.