Skip to content

Instantly share code, notes, and snippets.

@jose4125
Last active December 21, 2024 15:23
Show Gist options
  • Select an option

  • Save jose4125/42e52061a85425b6afd3f962df363897 to your computer and use it in GitHub Desktop.

Select an option

Save jose4125/42e52061a85425b6afd3f962df363897 to your computer and use it in GitHub Desktop.
postgres docker-compose
version: '3.9'
services:
postgres:
image: postgres:15.3
container_name: company-database
restart: always
ports:
- 5432:5432
volumes:
- ./postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=S3cret
- POSTGRES_USER=curso_user
- POSTGRES_DB=company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment