jeanbonbeur asked
dstala replied
<@996487497439781014>
If you are mac/linux- you can try host.docker.internal instead of localhost/127.0.0.1
pranavxc replied
Or alternately you can specify network as host
in docker compose — Compose file version 3 reference | Docker Docs
this way all ports will be available within docker container
pranavxc replied
```yml
version: ‘2.1’
services:
nocodb:
image: nocodb/nocodb:latest
network_mode: “host”
restart: always
volumes:
- nc_data:/usr/app/data
environment:
NC_DB: “pg://localhost:5432?u=myuser&p=mypassword&db=mydb”
```
jeanbonbeur replied