Docker containers running sample nodejs app among others tools for learning purposes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Yutsuo ff0b4019e6 struggling with mongodb image 7 years ago
mongo struggling with mongodb image 7 years ago
node struggling with mongodb image 7 years ago
.gitignore first commit 7 years ago
README.md working on mongodb authentication with nodejs inside docker 7 years ago
docker-compose.yml struggling with mongodb image 7 years ago
org_cheat_sheet struggling with mongodb image 7 years ago
package-lock.json first commit 7 years ago
prometheus.yml first commit 7 years ago

README.md

Quarta tarefa:

Faça com que o usuário e a senha do MongoDB seja passada para seu App utilizando variável de ambiente do Docker.

Utilize um script bash para validar se as variáveis estão preenchidas antes de levantar o NodeJS.

Mande foto do Dockerfile, código fonte e script bash.

  • passar usuário/senha por varíavel de ambiente docker (ENV). Usar bash para verificar se variável foi mesmo passada, se os campos de user/pass foram preenchidos.