GithubHelp home page GithubHelp logo

dockermon-angular's Introduction

DockerMon - Docker Container Monitor and Reports

This is a project for Docker Monitoring

It's built with a NodeJS / Express backend and an Angular 12 frontend using PrimeNG.

Development Server

You have several options to run and build this server.

If not using Docker, install required node modules:

npm install

Option 1 - Local Development

To run the backend separately:

npm run-script dev

This option runs the backend without building Angular frontend. Runs a node server using nodemon to watch for file changes and restarts node for the api at: http://localhost:3005

To run the Angular front end with live reload, in a separate terminal:

ng serve

This runs angular server at http://localhost:4200/. The app will automatically reload if you change any of the source files in /src/app.

Option 2 - Local Backend With Angular Build

To run both Angular Frontend / Node Backend with nodemon and live reload:

npm run-script startlocal

This option runs the backend using nodemon to restart on file changes also and runs ng build --watch Front end and backend are found at: http://localhost:3005

Docker Container

To build a docker container and run the node app, run:

docker-compose -f docker-compose.yml up

To update any system changes to docker run:

docker-compose -f docker-compose.yml up --build

Changes made in VS Code are (eventually) updated in Docker because the container runs both nodemon and ng build --watch.

Access docker container on http://localhost:3005

dockermon-angular's People

Contributors

drumfreak avatar

Watchers

 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.