Code Monkey home page Code Monkey logo

Nodedock Build status

Nodedock is a community-driven project to create the best Docker Node development environment.

Node + Docker

Goal

I'm an ex-PHP developer, and I've used to use Laradock and similar solutions a lot. However, there's no close thing in NodeJS ecosystem (or at least I didn't find it). So, I decided to build a solution based on Laradock, but for NodeJS. This is how Nodedock was born.

Check it out on example project

Just hit in a terminal:

cp env-example .env
APP_CODE_PATH_HOST=./examples/simple/ docker-compose up -d node nginx

Open http://127.0.0.1/ to get a greeting from an example project :)

You can check the logs using ./logs.sh command to see what's going on during the project startup.

See other examples here

Quick Start

You need to have a node project with package.json with start script definition as node container will run npm start command after start up.

cd $NODE_PROJECT_ROOT
git submodule add https://github.com/nodedock/nodedock.git
cp nodedock/env-example nodedock/.env
cd nodedock/
docker-compose up -d nginx node workspace
docker-compose logs -f

The last one is optional.

Alternative Commands

You can also declare the list of services you'd like to run using NODEDOCK_SERVICES variable in .env (you can create your own .env by copying env-example file).

After that, you'll be able to use start.sh, stop.sh, restart.sh and logs.sh scripts which are located in the root directory of nodedock.

Documentation

Available on project's website nodedock.io

Working with Documentation

You'll need Docsify:

yarn global add docsify-cli

After that, you can view docs by running docsify serve ./docs and visiting http://localhost:3000

Based on Laradock

This project is based on awesome Laradock (contributors)

LICENSE

MIT

Nodedock's Projects

nodedock icon nodedock

📦🚢 Docker Node.js development environment

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.