An open API service indexing awesome lists of open source software.

https://github.com/alextanhongpin/docker-samples

Sample codes for docker
https://github.com/alextanhongpin/docker-samples

docker docker-node docker-redis nodejs redis

Last synced: 6 months ago
JSON representation

Sample codes for docker

Awesome Lists containing this project

README

          

# Docker Samples

## redis-node

Shows an example on using docker-compose to bootstrap a redis and nodejs application. The nodejs will link to the redis hostname through docker-compose `links`.

## Automate your development setup

If you are constantly creating a docker-compose and copying the file from here to your local, add this to your `.zshrc` instead:

```
alias init-db='svn export https://github.com/alextanhongpin/docker-samples/trunk/postgres/docker-compose.yml'
alias init-redis='svn export https://github.com/alextanhongpin/docker-samples/trunk/redis/docker-compose.yml'
```

This will clone the docker-compose file locally.