Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
postgres:
image: postgres:9.6-alpine
ports:
- '5432:5432'
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'database'
volumes:
- ./init:/docker-entrypoint-initdb.d/
# sudo docker-compose -f docker-compose.yml up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.