Skip to content

docker compose com os containers pgadmin4, PostgresSQL, MongoDB, Rancher

License

Notifications You must be signed in to change notification settings

Romulosanttos/docker-compose-basic-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-compose-basic-database

requisitos

  1. docker ce 17.13 https://docs.docker.com/install/
  2. docker compose https://docs.docker.com/compose/install/

containers

  • postgres:latest
  • dpage/pgadmin4
  • rancher/server:stable
  • mongo:latest

comando para usar depois de instalado os requisitos (linux)

executar dentro da pasta aonde está o arquivo baixado docker-compose.yml

Deleta todos os container

$ sudo docker rm -f $(sudo docker ps -a -q)

Deleta os container do compose

$ sudo docker rm -f rancher pgadmin4 mongoDB postgresSQL

Iniciar o compose

$ sudo docker-compose up -d

variáveis

  1. postgres
    • POSTGRES_PASSWORD
    • POSTGRES_USER
  2. pgadmin4
    • PGADMIN_DEFAULT_EMAIL
    • PGADMIN_DEFAULT_PASSWORD

links

  1. Use este conta de administrador padrão para logar no postgres
    • host: 192.168.1.2:5432
    • user: postgres
    • password: postgres
  2. Use este conta de administrador padrão para logar no mongoDB
    • host: 192.168.1.3:27017
    • user: null
    • password: null
  3. Use este conta de administrador padrão para logar no pgadmin:
  4. Use este conta de administrador padrão para logar no rancher:
    • host: 192.168.1.5:6060
    • user: null
    • password: null

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

docker compose com os containers pgadmin4, PostgresSQL, MongoDB, Rancher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages