Advertisement
Guest User

Untitled

a guest
Feb 5th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. version: '2'
  2. services:
  3. vielheit-services:
  4. image: <snip>
  5. volumes:
  6. - ..:/src
  7. ports:
  8. - "8080:8080"
  9. command: ["./wait-for-it.sh", "localhost:5432", "-t", "20", "--", "java", "-jar", "app.jar"]
  10. postgres:
  11. image: postgres:latest
  12. ports:
  13. - "5432:5432"
  14. environment:
  15. POSTGRES_USER: postgres
  16. POSTGRES_PASSWORD: postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement