Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Osedea/nodock
Browse files Browse the repository at this point in the history
  • Loading branch information
philtrep committed Dec 29, 2016
2 parents 6525fc0 + d40efc6 commit 489c837
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# NoDock
Docker Compose for Node projects with Node, MySQL, MongoDB, NGINX, Memcached,Certbot and RabbitMQ images
Docker Compose for Node projects with Node, MySQL, MongoDB, NGINX, Memcached, Certbot and RabbitMQ images

<a name="why-nodock"></a>
## Why NoDock?

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.

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.

You can use NoDock for simple projects by using one of the [examples](#Examples) or you can build upon them.

## Contents

Expand Down
5 changes: 2 additions & 3 deletions _examples/memcached/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
```bash
cd <project_folder>/

cp nodock/_examples/memcached/index.js .
cp nodock/_examples/memcached/package.json .
cp -r nodock/_examples/memcached/* .
```

### Usage
Expand All @@ -19,4 +18,4 @@ cd nodock/
docker-compose up -d memcached node nginx
```

By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `memcached`.
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `memcached`.
5 changes: 2 additions & 3 deletions _examples/mongo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
```bash
cd <project_folder>/

cp nodock/_examples/mongo/index.js .
cp nodock/_examples/mongo/package.json .
cp -r nodock/_examples/mongo/* .
```

### Usage
Expand All @@ -19,4 +18,4 @@ cd nodock/
docker-compose up -d mongo node nginx
```

By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mongo`.
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mongo`.
5 changes: 2 additions & 3 deletions _examples/mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
```bash
cd <project_folder>/

cp nodock/_examples/mysql/index.js .
cp nodock/_examples/mysql/package.json .
cp -r nodock/_examples/mysql/* .
```

### Usage
Expand All @@ -19,4 +18,4 @@ cd nodock/
docker-compose up -d mysql node nginx
```

By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mysql`.
By going to `127.0.0.1` in your browser you should be seeing a message indicating that `node` has successfully connected to `mysql`.
5 changes: 2 additions & 3 deletions _examples/rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
```bash
cd <project_folder>/

cp nodock/_examples/rabbitmq/index.js .
cp nodock/_examples/rabbitmq/package.json .
cp -r nodock/_examples/rabbitmq/* .
```

### Usage
Expand All @@ -19,4 +18,4 @@ cd nodock/
docker-compose up -d rabbitmq node nginx
```

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.
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.
5 changes: 2 additions & 3 deletions _examples/simple-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Copy the index file in this folder to the project root:
```bash
cd <project_folder>/

cp nodock/_examples/simple-web/index.js .
cp nodock/_examples/simple-web/package.json .
cp -r nodock/_examples/simple-web/* .
```

### Usage
Expand All @@ -19,4 +18,4 @@ cd nodock/
docker-compose up -d node nginx
```

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

0 comments on commit 489c837

Please sign in to comment.