Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postgres:
- image: postgres:9.6-alpine
- ports:
- - '5432:5432'
- environment:
- POSTGRES_USER: "user"
- POSTGRES_PASSWORD: ""
- POSTGRES_DB: "golang"
- volumes:
- - ./init:/docker-entrypoint-initdb.d/
- ## docker exec -it 489ca38d537beac6b457c9c2ce86a606d11eaa41c3594d13d676cc42e35346bf psql -U postgres
Add Comment
Please, Sign In to add comment