Skip to content

Instantly share code, notes, and snippets.

@rafael2ll
Created June 23, 2021 03:41
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 rafael2ll/ccb3fe3d7b1cc414e61c9ede42697fe2 to your computer and use it in GitHub Desktop.
Save rafael2ll/ccb3fe3d7b1cc414e61c9ede42697fe2 to your computer and use it in GitHub Desktop.
version: '3'
services:
postgres-svc:
image: postgres
environment:
POSTGRES_PASSWORD: "password"
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
networks:
- postgres-network
networks:
postgres-network:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment