Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: postgres
- environment:
- POSTGRES_DB: Shoes
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: root
- ports:
- - 5432:5432
- app:
- build: .
- command: ["go", "run", "main.go"]
- volumes:
- - .:/go/src/app
- ports:
- - "8080:8080"
- depends_on:
- - db
- links:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement