24 lines
406 B
YAML
24 lines
406 B
YAML
services:
|
|
db:
|
|
image: postgres:17.2-alpine
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: mv_dev
|
|
volumes:
|
|
- type: volume
|
|
source: postgres-data
|
|
target: /var/lib/postgresql/data
|
|
volume:
|
|
nocopy: true
|
|
ports:
|
|
- "5000:5432"
|
|
networks:
|
|
- local
|
|
|
|
networks:
|
|
local:
|
|
|
|
volumes:
|
|
postgres-data:
|
|
|