Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Last active January 29, 2026 17:36
Show Gist options
  • Select an option

  • Save juanpabloaj/4fbd8eeff99c3009af34effb9c5ebe2b to your computer and use it in GitHub Desktop.

Select an option

Save juanpabloaj/4fbd8eeff99c3009af34effb9c5ebe2b to your computer and use it in GitHub Desktop.
postgres docker-compose.yml
# docker-compose up -d
# docker-compose exec db psql -U postgres
services:
postgres:
image: postgres:18
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment