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
- Host: GitHub
- URL: https://github.com/alextanhongpin/docker-samples
- Owner: alextanhongpin
- Created: 2017-03-25T07:54:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-23T03:07:58.000Z (about 5 years ago)
- Last Synced: 2025-01-29T21:54:21.591Z (about 1 year ago)
- Topics: docker, docker-node, docker-redis, nodejs, redis
- Language: JavaScript
- Size: 10.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.