Skip to content

Instantly share code, notes, and snippets.

@lucasslemos
Created October 2, 2024 21:42
Show Gist options
  • Select an option

  • Save lucasslemos/6ebab6eecfd9bfcb7d7285df03a428df to your computer and use it in GitHub Desktop.

Select an option

Save lucasslemos/6ebab6eecfd9bfcb7d7285df03a428df to your computer and use it in GitHub Desktop.
postgres docker
version: '3.9'
services:
db:
image: postgres:15
environment:
POSTGRES_USER: lucas
POSTGRES_PASSWORD: 12345678
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment