Guest User

Untitled

a guest
Oct 9th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. version: '3.6'
  2. services:
  3. flowable-all-in-one:
  4. image: flowable/all-in-one
  5. depends_on:
  6. - flowable-db
  7. environment:
  8. - SERVER_PORT=9977
  9. - SPRING_DATASOURCE_DRIVER-CLASS-NAME=org.postgresql.Driver
  10. - 'SPRING_DATASOURCE_URL=jdbc:postgresql://flowable-db:5432/flowable'
  11. - SPRING_DATASOURCE_USERNAME=flowable
  12. - SPRING_DATASOURCE_PASSWORD=flowable
  13. ports:
  14. - '8080:8080'
  15. entrypoint:
  16. - /wait-for-something.sh
  17. - flowable-db
  18. - '5432'
  19. - PostgreSQL
  20. - /opt/tomcat/bin/catalina.sh
  21. - run
  22. flowable-db:
  23. image: 'postgres:9.6-alpine'
  24. volumes:
  25. - '~/.flowable/all-in-one/postgres:/var/lib/postgresql/data'
  26. environment:
  27. - POSTGRES_PASSWORD=flowable
  28. - POSTGRES_USER=flowable
  29. - POSTGRES_DB=flowable
  30. ports:
  31. - '5433:5432'
  32. command: postgres
Add Comment
Please, Sign In to add comment