Skip to content

Commit 489c837

Browse files
committed
Merge branch 'master' of https://github.com/Osedea/nodock
2 parents 6525fc0 + d40efc6 commit 489c837

File tree

6 files changed

+20
-16
lines changed

6 files changed

+20
-16
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# NoDock
2-
Docker Compose for Node projects with Node, MySQL, MongoDB, NGINX, Memcached,Certbot and RabbitMQ images
2+
Docker Compose for Node projects with Node, MySQL, MongoDB, NGINX, Memcached, Certbot and RabbitMQ images
3+
4+
<a name="why-nodock"></a>
5+
## Why NoDock?
6+
7+
The [docker Node.js](https://github.com/nodejs/docker-node) image is very simple, you give it an entrypoint and it runs it. This is fine for very simple/small scripts but for larger projects you'll probably want something a bit more robust.
8+
9+
The goal of NoDock is to provide a complete environment for your node project: Node.js service(s), databases, web servers, queues, etc. while doing the "wiring" for you.
10+
11+
You can use NoDock for simple projects by using one of the [examples](#Examples) or you can build upon them.
312

413
## Contents
514

_examples/memcached/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
77
```bash
88
cd <project_folder>/
99

10-
cp nodock/_examples/memcached/index.js .
11-
cp nodock/_examples/memcached/package.json .
10+
cp -r nodock/_examples/memcached/* .
1211
```
1312

1413
### Usage
@@ -19,4 +18,4 @@ cd nodock/
1918
docker-compose up -d memcached node nginx
2019
```
2120

22-
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `memcached`.
21+
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `memcached`.

_examples/mongo/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
77
```bash
88
cd <project_folder>/
99

10-
cp nodock/_examples/mongo/index.js .
11-
cp nodock/_examples/mongo/package.json .
10+
cp -r nodock/_examples/mongo/* .
1211
```
1312

1413
### Usage
@@ -19,4 +18,4 @@ cd nodock/
1918
docker-compose up -d mongo node nginx
2019
```
2120

22-
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mongo`.
21+
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mongo`.

_examples/mysql/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
77
```bash
88
cd <project_folder>/
99

10-
cp nodock/_examples/mysql/index.js .
11-
cp nodock/_examples/mysql/package.json .
10+
cp -r nodock/_examples/mysql/* .
1211
```
1312

1413
### Usage
@@ -19,4 +18,4 @@ cd nodock/
1918
docker-compose up -d mysql node nginx
2019
```
2120

22-
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mysql`.
21+
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mysql`.

_examples/rabbitmq/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
77
```bash
88
cd <project_folder>/
99

10-
cp nodock/_examples/rabbitmq/index.js .
11-
cp nodock/_examples/rabbitmq/package.json .
10+
cp -r nodock/_examples/rabbitmq/* .
1211
```
1312

1413
### Usage
@@ -19,4 +18,4 @@ cd nodock/
1918
docker-compose up -d rabbitmq node nginx
2019
```
2120

22-
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `rabbitmq`. If you are seeing an error message, wait a few seconds for RabbitMQ to spin up and reload the page.
21+
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `rabbitmq`. If you are seeing an error message, wait a few seconds for RabbitMQ to spin up and reload the page.

_examples/simple-web/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
77
```bash
88
cd <project_folder>/
99

10-
cp nodock/_examples/simple-web/index.js .
11-
cp nodock/_examples/simple-web/package.json .
10+
cp -r nodock/_examples/simple-web/* .
1211
```
1312

1413
### Usage
@@ -19,4 +18,4 @@ cd nodock/
1918
docker-compose up -d node nginx
2019
```
2120

22-
By going to `127.0.0.1` in your browser you should be seeing a nice greeting!
21+
By going to `127.0.0.1` in your browser you should be seeing a nice greeting!

0 commit comments

Comments
 (0)