Hey @bfranklin , by default when running
docker-compose up -d
the postgres database is not available to connect to. To make it available you will need to edit the docker-compose.yml
file found in your baserow
folder so the database service at the top of the file looks like this:
db:
# Please ensure the postgres-client's major version in the backend image is kept in
# sync with this major version so pg_dump remains compatible.
ports:
- "${HOST_PUBLISH_IP:-127.0.0.1}:${POSTGRES_PORT:-5432}:5432"
image: postgres:11.3
environment:
- POSTGRES_USER=${DATABASE_USER:-baserow}
- POSTGRES_PASSWORD=${DATABASE_PASSWORD:-baserow}
- POSTGRES_DB=${DATABASE_NAME:-baserow}
networks:
local:
volumes:
- pgdata:/var/lib/postgresql/data
Where the two new lines are
ports:
- "${HOST_PUBLISH_IP:-127.0.0.1}:${POSTGRES_PORT:-5432}:5432"
After doing this you will then need to run
docker-compose restart
for it to pickup the changes, afterwhich you should be able to connect to the baserow postgres.