From 339f93b95a5d27f4397c82589bd53d0644cd75ae Mon Sep 17 00:00:00 2001
From: askiiart <dev@askiiart.net>
Date: Thu, 23 Jan 2025 20:08:00 -0600
Subject: [PATCH] add postgres dev stuff

---
 .gitignore             |  2 ++
 podman-compose.dev.yml | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 podman-compose.dev.yml

diff --git a/.gitignore b/.gitignore
index a727c0a..a1d520b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 /target
 /data
+/pgadmin
+/gregory-pg
\ No newline at end of file
diff --git a/podman-compose.dev.yml b/podman-compose.dev.yml
new file mode 100644
index 0000000..3afa390
--- /dev/null
+++ b/podman-compose.dev.yml
@@ -0,0 +1,27 @@
+services:
+  postgres:
+    image: 'docker.io/library/postgres:17-alpine'
+    container_name: 'gregory-pg'
+    environment:
+      POSTGRES_PASSWORD: 'ChangeMeeeeeeeeeeeeee'
+      # if there's already a he/him gregory down the hall, then change it to gregory_it_its, to make sure you know it's gregory, the program, not gregory the he/him down the hall
+      # ig if there's an it/its gregory already then they just have to change their name to Its Majesty Queen Henry the Eighth
+      # oops sorry it/its gregory down the hall, correction: it just has to changes its name
+      POSTGRES_USER: 'gregory'
+      POSTGRES_DB: 'gregory'
+    volumes:
+      - './gregory-pg:/var/lib/postgresql/data'
+    ports:
+      - '5432:5432'
+
+  pgadmin4:
+    image: docker.io/dpage/pgadmin4
+    container_name: pgadmin4
+    environment:
+      PGADMIN_DEFAULT_EMAIL: mail@example.com
+      PGADMIN_DEFAULT_PASSWORD: password
+      PGADMIN_DISABLE_POSTFIX: 1
+    volumes:
+      - ./pgadmin:/var/lib/pgadmin
+    ports:
+      - 5050:80