docker-compose up --build -d
Connecting to the database from other containers:
server: host.docker.internal
Connecting to the database from the local host:
server: host.docker.internal
or localhost
Database name and credentials are set in the docker-compose file.