Compare commits

..

No commits in common. "2f66d8455bd90b0466275b1af216a57f579bf065" and "da44c632b744ab6cdba6eb2efcab66213dff204d" have entirely different histories.

4 changed files with 15 additions and 35 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target /target
/data /data
/dev /pgadmin
/gregory-pg

View file

@ -1,22 +0,0 @@
#!/usr/bin/env bash
rm -rf ./data/
mkdir -p ./data/{fedora-repo,librewolf,other-workspace}
mkdir -p ./dev/{pgadmin,gregory-pg}
chmod -R 777 ./dev/pgadmin
podman-compose down
podman-compose -f podman-compose.dev.yml up -d
echo "
---
"
echo 'pgadmin login:
Email: "a@a.aaa"
Password: "pass"
'
echo 'pgadmin settings:
Hostname: "postgres"
Username: "gregory"
Password: "pass"'

View file

@ -3,23 +3,25 @@ services:
image: 'docker.io/library/postgres:17-alpine' image: 'docker.io/library/postgres:17-alpine'
container_name: 'gregory-pg' container_name: 'gregory-pg'
environment: 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 # 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 # 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 # oops sorry it/its gregory down the hall, correction: it just has to changes its name
POSTGRES_USER: 'gregory' POSTGRES_USER: 'gregory'
POSTGRES_DB: 'gregory' POSTGRES_DB: 'gregory'
POSTGRES_PASSWORD: 'pass'
volumes: volumes:
- './dev/gregory-pg:/var/lib/postgresql/data' - './gregory-pg:/var/lib/postgresql/data'
ports:
- '5432:5432'
pgadmin4: pgadmin4:
image: docker.io/dpage/pgadmin4 image: docker.io/dpage/pgadmin4
container_name: pgadmin4 container_name: pgadmin4
environment: environment:
PGADMIN_DEFAULT_EMAIL: a@a.aaa PGADMIN_DEFAULT_EMAIL: mail@example.com
PGADMIN_DEFAULT_PASSWORD: pass PGADMIN_DEFAULT_PASSWORD: password
PGADMIN_DISABLE_POSTFIX: 1 PGADMIN_DISABLE_POSTFIX: 1
volumes: volumes:
- ./dev/pgadmin:/var/lib/pgadmin - ./pgadmin:/var/lib/pgadmin
ports: ports:
- 127.0.0.1:5050:80 - 5050:80

View file

@ -1,15 +1,14 @@
services: services:
postgres: postgres:
image: 'docker.io/library/postgres:17-alpine' image: 'docker.io/library/postgres:17-alpine'
container_name: 'gregory-pg'
environment: 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 # 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 # 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 # oops sorry it/its gregory down the hall, correction: it just has to changes its name
POSTGRES_USER: 'gregory' POSTGRES_USER: 'gregory'
POSTGRES_DB: 'gregory' POSTGRES_DB: 'gregory'
POSTGRES_PASSWORD: 'pass'
volumes: volumes:
- './dev/gregory-pg:/var/lib/postgresql/data' - './gregory-pg:/var/lib/postgresql/data'
ports:
# TODO: Add gregory docker - '5432:5432'