Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ysodre/nodejsredis
https://github.com/ysodre/nodejsredis
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ysodre/nodejsredis
- Owner: ySodre
- Created: 2023-08-15T18:01:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-15T19:52:32.000Z (over 1 year ago)
- Last Synced: 2023-08-15T20:43:21.074Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
#Aplicação simples utilizando node.js e redis
1. Crie uma rede especifica para o projeto
#docker network create devops
2. Faça a criação da imagem com o docker build
#docker build -t devops/node-app .
3. Inicie o redis antes da aplicação
#docker run --net devops -d redis-server redis
4. Inicie o o container da aplicação
#docker run --net devops -p 8080:8081 devops/node-app