Support system micro service: a simple demo size Bugzilla kind of application to track the issues.
733
Environment Variable :
This micro-service requires one eureka server to be up and running. While running SupportSystem container please use eureka.client.serviceUrl.defaultZone flag to pass the Netflix server URL
Swagger UI is available at http://localhost:8080/support/swagger-ui.html : please change the port to mapped host port.
On startup, this container creates the necessary tables in the database. Populates the table with initial data.
For SMTP to function smoothly please provide the environment variable email.fromemail& email.password with appropriate values. Also make sure https://myaccount.google.com/u/2/lesssecureapps is enabled.
Please use the below sample docker-compose.yml file to create a eureka-server & supportsystem containers talking to each other.
In command prompt run: docker-compose up -d and access netflix-ui on the browser just type http://localhost, to access the support-system API use http://localhost:8080/support/getIssueStatus
eureka-server:
image: devakash/eureka:latest
ports:
- '80:8762' '80:8762'
restart: always
supportsystem:
image: devakash/supportsystem:latest
ports:
- '8080:8080''8080:8080'
environment:
- eureka.client.serviceUrl.defaultZone=http://eureka-server:8762/eureka
- email.fromemail=[email protected]
- email.password=emailpassword
links:
- eureka-server
restart: always
Content type
Image
Digest
Size
125.1 MB
Last updated
over 6 years ago
docker pull devakash/supportsystem