background-jobs/examples/postgres-example/docker-compose.yml

15 lines
310 B
YAML
Raw Normal View History

2024-01-10 05:16:35 +00:00
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