Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

removed reference of fig and replaced #449 with docker-compose and chang... #492

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ $ grunt test:client
## Development and deployment With Docker

* Install [Docker](http://www.docker.com/)
* Install [Fig](https://github.com/orchardup/fig)
* Install [docker-copose](http://docs.docker.com/compose/)

* Local development and testing with fig:
* Local development and testing with docker-compose:
```bash
$ fig up
$ docker-compose up
```

* Local development and testing with just Docker:
Expand Down
2 changes: 1 addition & 1 deletion config/env/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
db: {
uri: 'mongodb://localhost/mean-dev',
uri: process.env.DOCKER_MONG_URL || 'mongodb://localhost/mean-dev',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing an O.

options: {
user: '',
pass: ''
Expand Down
5 changes: 3 additions & 2 deletions fig.yml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ web:
- db
ports:
- "3000:3000"
environment:
environment:
NODE_ENV: development
DOCKER_MONG_URL: mongodb://mean_db_1/mean-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, missing an O.

db:
image: mongo
ports:
ports:
- "27017:27017"