skip to Main Content

How to make use the PASSWORD with the official postgres docker image?

Trying to make use of the official postgres docker image with: docker run --rm -d --name my-postgres --network my-network -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=mysuperduperlongpwstring -e POSTGRES_DB=postgres -v /path/to/postgres/data/:/var/lib/postgresql/data postgres However, when creating postgres connection with Go, psqlInfo := fmt.Sprintf( "host=%s port=%s…

VIEW QUESTION
Back To Top
Search