Skip to content

Instantly share code, notes, and snippets.

@berk-karaal
berk-karaal / docker-compose.yaml
Created August 14, 2024 15:59
postgres docker compose
services:
postgres:
image: postgres:16-alpine
volumes:
- ./var/db:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres