Guest User

Untitled

a guest
Feb 7th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. search_1 | Caused by: java.lang.IllegalStateException: Invalid URL: config:8888
  2.  
  3. spring.application.name=inventory-client
  4. #spring.cloud.config.uri=http://localhost:8888
  5. spring.cloud.config.uri=config:8888
  6.  
  7. spring.jpa.hibernate.ddl-auto=none
  8. spring.jpa.show-sql=false
  9. spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
  10. spring.datasource.url=jdbc:postgresql://db:5432/leisurely_diversion
  11. #spring.datasource.url=jdbc:postgresql://localhost:5000/leisurely_diversion
  12. spring.datasource.driver-class-name=org.postgresql.Driver
  13.  
  14. # Use postgres/example user/password credentials
  15. version: '3.2'
  16.  
  17. services:
  18. db:
  19. image: postgres
  20. ports:
  21. - 5000:5432
  22. environment:
  23. POSTGRES_PASSWORD: example
  24. volumes:
  25. - type: volume
  26. source: psql_data
  27. target: /var/lib/postgresql/data
  28. networks:
  29. - app
  30. restart: always
  31. config:
  32. image: kellymarchewa/config_server
  33. networks:
  34. - app
  35. volumes:
  36. - /root/.ssh:/root/.ssh
  37. restart: always
  38. search:
  39. image: kellymarchewa/search_api
  40. networks:
  41. - app
  42. restart: always
  43. ports:
  44. - 8082:8082
  45. depends_on:
  46. - db
  47. - config
  48. - inventory
  49. inventory:
  50. image: kellymarchewa/inventory_api
  51. depends_on:
  52. - db
  53. - config
  54. ports:
  55. - 8081:8081
  56. networks:
  57. - app
  58. restart: always
  59. volumes:
  60. psql_data:
  61. networks:
  62. app:
Add Comment
Please, Sign In to add comment