Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loconluis/docker-node-redis-simpleapp
https://github.com/loconluis/docker-node-redis-simpleapp
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/loconluis/docker-node-redis-simpleapp
- Owner: loconluis
- Created: 2019-08-03T19:04:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T00:40:59.000Z (about 2 years ago)
- Last Synced: 2023-02-27T05:56:46.454Z (almost 2 years ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker
To maintain multiple container use docker-compose. They will connected trought a default network
#### Up
1. - `$ docker-compose up`
1. - `$ docker-compose up -d` // with background up#### Down
1. - `$ docker-compose down`
Stop a removing all the containers.#### Restart Vocabulary
1. - "no" >> Never restar a container was failed.
1. - always >> Restar a container, not matter what has failed.
1. - on-failure >> Only restart if a container stop for an error code.
1. - unless-stopped >> Always restart unless we forcibly stop it.Running `$ docker ps` when a compose was exec. Doesnt not work, only in the directory was that compose exists.