Add: new docker-compose file for dev setup

This commit is contained in:
Aroy-Art 2025-04-03 12:34:59 +02:00
parent 510fff3059
commit b2ec2f6924
Signed by: Aroy
GPG key ID: 583642324A1D2070
2 changed files with 197 additions and 29 deletions

View file

@ -1,29 +0,0 @@
services:
db:
image: postgres:16
container_name: postgres_dev
restart: unless-stopped
environment:
POSTGRES_USER: archivist
POSTGRES_PASSWORD: password
POSTGRES_DB: archivist
TZ: Europe/Berlin
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin_dev
restart: unless-stopped #always
environment:
PGADMIN_DEFAULT_EMAIL: aroy-art@pm.me
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
depends_on:
- db
volumes:
postgres_data: