34 lines
715 B
YAML
34 lines
715 B
YAML
services:
|
|
nats-server:
|
|
image: nats:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 4222:4222
|
|
command: ["-DV"]
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- pg_data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=s3cret!
|
|
- POSTGRES_USER=zadmin_user
|
|
- POSTGRES_DB=zadmin_dev
|
|
pgadmin:
|
|
image: dpage/pgadmin4
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8888:80"
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: mans@mziesel.com
|
|
PGADMIN_DEFAULT_PASSWORD: secret
|
|
PGADMIN_LISTEN_PORT: 80
|
|
volumes:
|
|
- pgadmin_data:/var/lib/pgadmin
|
|
|
|
volumes:
|
|
pg_data: {}
|
|
pgadmin_data: {}
|