system/docker-compose.yml

19 lines
347 B
YAML

version: "3.8"
services:
postgres:
image: postgres:15
container_name: postgres-dev
environment:
POSTGRES_DB: system
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data: