Giter Site home page Giter Site logo

airfield's Introduction

Airfield

Simple hipache web-interface

  • Check packages from package.json
  • Requires of course hipache and redis installed on same server with airfield

Setup

After downloading source:

cd airfield
npm install
node airfield.js

Then you can go to http://server.com:3000/

Default login credientials are:

User: admin
Pass: kissa2

You can change those by modifying settings.js.

Warning!

Currently authentication is broken so there is not really any kind of session management. You have to implement checkAuth-middleware to check if user is logged in, login and logout routines.

Openstack support

If you are doing lots of proxying to OpenStack instances, you can enable openstack-support. The management console uses openstack-api to fetch ips, names and statuses of all instances. This feature is tested with Folsom. All you have to do is enable it from settings.js and change the login credientials in the same file.

If you are using this for a real purpose not just testing, tweak other settings too.

ToDo

  • Better AJAX-message construction
  • Authentication
  • Statistics
  • Search
  • Paging

airfield's People

Contributors

dhrp avatar emblicaorg avatar keeb avatar msabramo avatar offlinehacker avatar stefanvangastel avatar theikkila avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

airfield's Issues

Parameterize Authentication Settings

Loading the authentication from a static file only makes it tough to run this from outside Docker - you have to enter the container, modify it, commit it (if you don't want to repeat this), and then ensure that you don't ever push this container.

A bunch of other options are modifiable using an environment variable, I'd vote for auth to be included in this as well. Perhaps a simple bash wrapper that reads the proper variables, updates settings file, and then calls node

Suggestion: Use local js and css files instead of CDN

Hi wanted to use your Airfield for managing Hipache vhosts on a intranet docker serve without internet connection. Unfortunately the app wants to get jquery etc from an internet CDN making it unusable in an offline env.

Auth does not work

The username and password are checked, but the session management stuff is broken.

Error building dockerfile

1055 error Error: No compatible version found: redis@'^0.12.1'
1055 error Valid install targets:
1055 error ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.7","0.0.8","0.1.0","0.1.1","0.1.2","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.6","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.9","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.5.9","0.5.10","0.5.11","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.7.0","0.7.1","0.7.2","0.7.3","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.9.0","0.9.1","0.9.2","0.10.0","0.10.1","0.10.2","0.10.3","0.11.0","0.12.0","0.12.1"]
1055 error at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:685:10)
1055 error at /usr/local/lib/node_modules/npm/lib/cache.js:607:10
1055 error at RegClient.get_ (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:101:14)
1055 error at RegClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:37:12)
1055 error at fs.readFile (fs.js:176:14)
1055 error at Object.oncomplete (fs.js:297:15)
1056 error If you need help, you may report this log at:
1056 error http://github.com/isaacs/npm/issues
1056 error or email it to:
1056 error [email protected]

docker hub - automated build

Can you add this repo to docker hub as an automated build?
It would be great to not need to build this repository manually,
and just use docker run emblica/airfield.

Thanks for creating airfield.

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.