Reputation: 59
I'm setting up db. But I have problems with some code. How path should looks like?
Here is my docker-compose.yml
version: '3.6' services: postgresql: image: postgres:12-alpine restart: unless-stopped ports: - 5432:5432 environment: POSTGRES_DB: test POSTGRES_USER: user1 POSTGRES_PASSWORD: user123 volumes: - postgres-data:/var/lib/postgresql/data volumes: postgres-data: driver: local
after running command docker-compose up -d
, I would like to create db from "Data source", but I'm getting error. Image: https://i.sstatic.net/5uIKP.jpg
Also here is output of docker container ps -a
https://i.sstatic.net/c446H.jpg
Upvotes: 0
Views: 950
Reputation: 59
Problem was in Docker version, I was using 18.03. On 19.03 works fine!
Upvotes: 0