background-jobs/examples/postgres-example/docker-compose.yml
2024-01-09 23:16:35 -06:00

14 lines
310 B
YAML

version: '3.3'
services:
postgres:
image: postgres:15-alpine
ports:
- "5432:5432"
environment:
- PGDATA=/var/lib/postgresql/data
- POSTGRES_DB=db
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./storage/postgres:/var/lib/postgresql/data