29 lines
614 B
YAML
29 lines
614 B
YAML
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:
|