Last active
January 29, 2026 17:36
-
-
Save juanpabloaj/4fbd8eeff99c3009af34effb9c5ebe2b to your computer and use it in GitHub Desktop.
postgres docker-compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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