Skip to content

Instantly share code, notes, and snippets.

@AZagatti
Created July 5, 2020 00:01
Show Gist options
  • Save AZagatti/366f6156c107443e75c904385fec6f34 to your computer and use it in GitHub Desktop.
Save AZagatti/366f6156c107443e75c904385fec6f34 to your computer and use it in GitHub Desktop.
Docker Images Deploy
docker run -d --name postgresql -e POSTGRESQL_PASSWORD=my_password -e POSTGRESQL_USERNAME=my_user -e POSTGRESQL_DATABASE=my_db -p random_port:5432 bitnami/postgresql:latest
docker run -d --name mongodb -e MONGODB_USERNAME=my_user -e MONGODB_PASSWORD=my_password -e MONGODB_DATABASE=my_db -p random_port:27017 bitnami/mongodb:latest
docker run -d --name redis -e REDIS_PASSWORD=my_password -p random_port:6379 bitnami/redis:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment