Skip to content

Instantly share code, notes, and snippets.

@Azrrael-exe
Last active August 12, 2020 04:58
Show Gist options
  • Save Azrrael-exe/11f0e3c690cfd6121576ba0620bb4f19 to your computer and use it in GitHub Desktop.
Save Azrrael-exe/11f0e3c690cfd6121576ba0620bb4f19 to your computer and use it in GitHub Desktop.
#bin/bash
docker run -p 5432:5432 -e POSTGRES_USER="vcamargo" -e POSTGRES_PASSWORD="maxwell" -v /opt/databases/postgresql:/var/lib/postgresql -i postgres
docker run -p 5432:5432 -e POSTGRES_USER="vcamargo" -e POSTGRES_PASSWORD="maxwell" --name postgres -i postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment