# This is a docker-compose file to fire up a dev database with some persistence. version: '3' services: postgres: image: postgres ports: - "5432:5432" volumes: - "../pg_data:/var/lib/postgresql/data"