Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- search_1 | Caused by: java.lang.IllegalStateException: Invalid URL: config:8888
- spring.application.name=inventory-client
- #spring.cloud.config.uri=http://localhost:8888
- spring.cloud.config.uri=config:8888
- spring.jpa.hibernate.ddl-auto=none
- spring.jpa.show-sql=false
- spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
- spring.datasource.url=jdbc:postgresql://db:5432/leisurely_diversion
- #spring.datasource.url=jdbc:postgresql://localhost:5000/leisurely_diversion
- spring.datasource.driver-class-name=org.postgresql.Driver
- # Use postgres/example user/password credentials
- version: '3.2'
- services:
- db:
- image: postgres
- ports:
- - 5000:5432
- environment:
- POSTGRES_PASSWORD: example
- volumes:
- - type: volume
- source: psql_data
- target: /var/lib/postgresql/data
- networks:
- - app
- restart: always
- config:
- image: kellymarchewa/config_server
- networks:
- - app
- volumes:
- - /root/.ssh:/root/.ssh
- restart: always
- search:
- image: kellymarchewa/search_api
- networks:
- - app
- restart: always
- ports:
- - 8082:8082
- depends_on:
- - db
- - config
- - inventory
- inventory:
- image: kellymarchewa/inventory_api
- depends_on:
- - db
- - config
- ports:
- - 8081:8081
- networks:
- - app
- restart: always
- volumes:
- psql_data:
- networks:
- app:
Add Comment
Please, Sign In to add comment