Compare commits
No commits in common. "da44c632b744ab6cdba6eb2efcab66213dff204d" and "4cc675c90abef2ca969bba9bb3350372aa22503b" have entirely different histories.
da44c632b7
...
4cc675c90a
3 changed files with 2 additions and 31 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,2 @@
|
||||||
/target
|
/target
|
||||||
/data
|
/data
|
||||||
/pgadmin
|
|
||||||
/gregory-pg
|
|
|
@ -1,27 +0,0 @@
|
||||||
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
|
|
|
@ -8,6 +8,6 @@ pub enum Error {
|
||||||
#[error("error while deserializing TOML: {0}")]
|
#[error("error while deserializing TOML: {0}")]
|
||||||
DeserError(#[from] toml::de::Error),
|
DeserError(#[from] toml::de::Error),
|
||||||
|
|
||||||
#[error("Database error: {0}")]
|
#[error("Podman error: {0}")]
|
||||||
DatabaseError(String),
|
PodmanError(String),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue