Git Product home page Git Product logo

docker-racktables's Introduction

Supported tags and respective Dockerfile links

What is Racktables

Racktables

Racktables is a nifty and robust solution for datacenter and server room asset management. It helps document hardware assets, network addresses, space in racks, networks configuration and much much more!

www.racktables.org

Build image

docker build --build-arg RACKTABLES_VERSION=0.22.0 -f Dockerfile -t ruhomor/racktables:0.22.0 .

How to use this image

For create maraidb service:

docker run \
    --name mariadb \
    -e MYSQL_ROOT_PASSWORD="SuperAdminPassw" \
    -e MYSQL_DATABASE="racktables" \
    -e MYSQL_USER="racktables" \
    -e MYSQL_PASSWORD="racktablesUserPwd" \
    -p 3306:3306 \
    -d mariadb:latest

To initialize database:

docker run \
    --rm \
    --link mariadb:mariadb \
    -e RACKTABLES_DB_HOST=mariadb \
    -e RACKTABLES_DB_USERNAME="racktables" \
    -e RACKTABLES_DB_PASSWORD="racktablesUserPwd" \
    -e RACKTABLES_DB_NAME="racktables" \
    -e RACKTABLES_INIT_DB=yes \
    -e RACKTABLES_ADMIN_PASSWD=RacktablesAdminPasswd \
    -it eltercera/docker-racktables:latest

Or initialize database whit sample racks data:

docker run \
    --rm \
    --link mariadb:mariadb \
    -e RACKTABLES_DB_HOST=mariadb \
    -e RACKTABLES_DB_USERNAME="racktables" \
    -e RACKTABLES_DB_PASSWORD="racktablesUserPwd" \
    -e RACKTABLES_DB_NAME="racktables" \
    -e RACKTABLES_INIT_DB=yes \
    -e RACKTABLES_ADMIN_PASSWD=RacktablesAdminPasswd \
    -e RACKTABLES_INIT_SAMPLE_RACKS=yes \
    -it eltercera/docker-racktables:latest

Start service:

docker run \
    --name racktables \
    --link mariadb:mariadb \
    -e RACKTABLES_DB_HOST=mariadb \
    -e RACKTABLES_DB_USERNAME=racktables \
    -e RACKTABLES_DB_PASSWORD="racktablesUserPwd" \
    -e RACKTABLES_DB_NAME=racktables \
    -p 8080:8080 \
    -d eltercera/docker-racktables:latest

Now, go to http://localhost:8080/ and login whit user admin and password RacktablesAdminPasswd

Environment variables

Apache server

Racktables

  • RACKTABLES_ADMIN_PASSWD: (Default: "123456") To ser Admin user password on database init.
  • RACKTABLES_HELPDESK_BANNER: This HTML banner is intended to assist users in dispatching their issues to the local tech support service. Its text (in its verbatim form) will be appended to assorted error messages visible in user's browser (including "not authenticated" message). Beware of placing any sensitive information here, it will be readable by unauthorized visitors.
  • RACKTABLES_PLUGINS_DIR: (Default: "/racktables/plugins") Set this if you need to override the default plugins directory.
  • RACKTABLES_REQUIRE_LOCAL_ACCOUNT: (Default: "true")
  • RACKTABLES_USER_AUTH_SRC: (Default: "database") Authetication Source

Database

  • RACKTABLES_DB_HOST: (Default: "mariadb") Hostname for database connection.
  • RACKTABLES_DB_NAME: (Default: "racktables") Database name.
  • RACKTABLES_DB_PASSWORD or RACKTABLES_DB_PASSWORD_FILE: (Default: "racktables") User password for database connection.
  • RACKTABLES_DB_PORT: (Default: "3306") TCP port for database connection.
  • RACKTABLES_DB_USERNAME: (Default: "racktables") User name for database connection.
  • RACKTABLES_INIT_DB: Set any value to try initialize database.
  • RACKTABLES_INIT_SAMPLE_RACKS: set any value for inser sample data to database.
  • RACKTABLES_PDO_BUFSIZE: Setting MySQL client buffer size may be required to make downloading work folarger files.
  • RACKTABLES_PDO_SSL_CA: PDO SSL ca path.
  • RACKTABLES_PDO_SSL_CERT: PDO SSL cert path.
  • RACKTABLES_PDO_SSL_KEY: PDO SSL key path.

LDAP AUTH

See: https://wiki.racktables.org/index.php/LDAP

  • RACKTABLES_LDAP_CACHE_EXPIRY
  • RACKTABLES_LDAP_CACHE_REFRESH
  • RACKTABLES_LDAP_CACHE_RETRY
  • RACKTABLES_LDAP_DISPLAYNAME_ATTRS
  • RACKTABLES_LDAP_DOMAIN
  • RACKTABLES_LDAP_GROUP_ATTR
  • RACKTABLES_LDAP_GROUP_FILTER
  • RACKTABLES_LDAP_OPTIONS Use Json format for pass options.
  • RACKTABLES_LDAP_PORT
  • RACKTABLES_LDAP_SEARCH_ATTR
  • RACKTABLES_LDAP_SEARCH_BIND_PASSWORD or RACKTABLES_LDAP_SEARCH_BIND_PASSWORD_FILE
  • RACKTABLES_LDAP_SEARCH_BIND_RDN
  • RACKTABLES_LDAP_SEARCH_DN
  • RACKTABLES_LDAP_SERVER (required)
  • RACKTABLES_LDAP_USE_TLS

docker-racktables's People

Contributors

eltercera avatar ruhomor avatar

Forkers

chmikhail

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.