Containerized development environment for pgweb - Mailing list pgsql-www

From Yogesh Sharma
Subject Containerized development environment for pgweb
Date
Msg-id ddcc84ba-d1b2-4cba-a316-461ee2962c9d@catprosystems.com
Whole thread Raw
Responses Re: Containerized development environment for pgweb  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Re: Containerized development environment for pgweb  (Justin Clift <justin@postgresql.org>)
List pgsql-www
Hello pgweb team,

Attaching a patch to simplify pgweb dev env setup.

Dockerfile - Main container with Django and PostgreSQL client
docker-compose.yml - to create proper dependency between python and 
postgres container
settings_local.py - Development setting, mounted inside container to 
override pgweb/settings.py
django_setup_local.sh - this script is executed at start of container 
and to setup pgweb specific env

Updated README.rst with commands.

Tested on Fedora 40 with podman as rootless containers. No custom setup 
was required.
start - `podman compose --file docker-compose.yml up --detach`
stop - `podman compose --file docker-compose.yml down`

-- 
Kind Regards,
Yogesh Sharma
PostgreSQL, Linux, and Networking Expert
Open Source Enthusiast and Advocate
PostgreSQL Contributors Team @ RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-www by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Re: Governance directory page for pg.o
Next
From: Célestin Matte
Date:
Subject: Re: Making pglister work with exim 4.96+