Skip to content

Commit

Permalink
add note in README.md about Docker deployment option
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescun committed Nov 15, 2017
1 parent 8a297de commit 1326b60
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Expand Up @@ -44,6 +44,24 @@ The import process takes around 10 minutes to complete.
node server.js // Default environment is development
```

### Running with Docker

Postcodes.io is packaged as a Docker container identified on the Docker Hub as `james/postcodes.io`.

```
docker run -d -p 8000 james/postcodes.io
```

Configuration available via Environment Variables:

- `MAPBOX_PUBLIC_KEY`
- `POSTGRES_USER`
- `POSTGRES_PASSWORD`
- `POSTGRES_DATABASE`
- `POSTGRES_HOST`
- `POSTGRES_PORT`


## Testing

```
Expand Down

0 comments on commit 1326b60

Please sign in to comment.