Hacker News
Pg-dev-container is a ready-to-run VS Code development container for PostgreSQL
15 points by mariuz
ago
|
6 comments
stackskipton
|next
[-]
To help out everyone else, this is designed for those working on PostgreSQL development. For anyone who is just using PostGres as part of their application, use normal PostGreSQL container.
taftster
|root
|parent
[-]
Honest question. Do you recommend a "devcontainer" for this? Like a Docker image that maybe has both postgres and your development environment preinstalled inside? Or do you generally like to use and reference an external docker container instance (with postgres installed) and connect to it from your devcontainer instance?
stackskipton
|root
|parent
|next
[-]
I tend to use dev containers with docker compose.
So if I'm building Python application with Prometheus/RabbitMQ/PostGres that's used as part of my application, My docker compose has network, those 3 services + Python Dev Container and I just reference the hostname of the service in my Python application config (ENV VARS).
TurdF3rguson
|next
|previous
[-]
It's an interesting idea but it seems like a lot of resources will get tied up on my dev box.
mariuz
|previous
[-]
pg-dev-container is a ready-to-run VS Code development container that includes:
- PostgreSQL source code and build tools - A debug build of PostgreSQL - A pre-configured debugger for step-through debugging - Sample extensions - A brief guide on how to compile, install, and debug a simple extension
Via
https://www.linkedin.com/feed/update/urn:li:activity:7417691...