Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

📦🚢 Docker Node.js development environment

License

NotificationsYou must be signed in to change notification settings

nodedock/nodedock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .envAPP_CODE_PATH_HOST=./examples/simple/ docker-compose up -d node nginx

Openhttp://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 exampleshere

Quick Start

You need to have a node project withpackage.json withstart script definition asnode container will runnpm start command after start up.

cd $NODE_PROJECT_ROOTgit submodule add https://github.com/nodedock/nodedock.gitcp nodedock/env-example nodedock/.envcd nodedock/docker-compose up -d nginx node workspacedocker-compose logs -f

The last one is optional.

Alternative Commands

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

After that, you'll be able to usestart.sh,stop.sh,restart.sh andlogs.sh scripts which are located in the root directory of nodedock.

Documentation

Available on project's websitenodedock.io

Working with Documentation

You'll needDocsify:

yarn global add docsify-cli

After that, you can view docs by runningdocsify serve ./docs and visitinghttp://localhost:3000

Based on Laradock

This project is based on awesomeLaradock (contributors)

LICENSE

MIT


[8]ページ先頭

©2009-2025 Movatter.jp