This is a simple example of the docker-compose.yaml:
version: '3'
services:
adminer:
image: adminer
restart: always
ports:
- ${ADMINER_HOST}:8080
I have a database on my host machine, not on the localhost, but here: 127.127.126.49:5432
How to access this database from the container?