Adding local postgres setup
parent
5e33a8a44c
commit
47b2e1f6d2
@ -0,0 +1,5 @@
|
||||
export PG_DATABASE=pulley
|
||||
export PG_USER=pulley
|
||||
export PG_PASSWD=passwd
|
||||
export PG_URI=postgres://pulley:passwd@localhost:5434/pulley
|
||||
|
@ -0,0 +1,14 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: pulleydb
|
||||
environment:
|
||||
POSTGRES_USER: pulley
|
||||
POSTGRES_PASSWORD: passwd
|
||||
POSTGRES_DB: pulley
|
||||
ports:
|
||||
- "5434:5432" # Host:Container
|
||||
volumes:
|
||||
- ./.pg_data:/var/lib/postgresql/data
|
||||
user: "${UID}:${GID}"
|
||||
|
Loading…
Reference in New Issue