Docker image for PostgreSQL
- Create a volume for persistent storage:
docker volume create --name=postgresql_data
-
Copy the docker-compose.yml and modify it if needed.
-
Start the PostgreSQL server:
docker-compose create
docker-compose start
- Connect to your DB and change the default password
Default user is admin / docker.