- Notifications
You must be signed in to change notification settings - Fork35
📦🚢 Docker Node.js development environment
License
nodedock/nodedock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Nodedock is a community-driven project to create the best Docker Node development environment.
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.
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
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.
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.
Available on project's websitenodedock.io
You'll needDocsify:
yarn global add docsify-cli
After that, you can view docs by runningdocsify serve ./docs
and visitinghttp://localhost:3000
This project is based on awesomeLaradock (contributors)
MIT
About
📦🚢 Docker Node.js development environment
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.