Skip to content

Instantly share code, notes, and snippets.

@igorvieira
Last active November 11, 2022 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorvieira/7b96ec3a9737dcc15ab69a997a2fa078 to your computer and use it in GitHub Desktop.
Save igorvieira/7b96ec3a9737dcc15ab69a997a2fa078 to your computer and use it in GitHub Desktop.
postgres:
image: postgres:14.6-alpine
ports:
- '5432:5432'
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'database'
volumes:
- ./init:/docker-entrypoint-initdb.d/
# docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment