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
db source? It looks like you have problems with connection but setup seems correct - have you provided right password for your user?docker container ps -aand edit your question with the output. Also try not to use-doption as it will detach from the output. Check logs after launching without-doption and post them here.