/spring-boot-rest-service-employee

an exercise to help me study java, spring-boot, docker and elastic-search

Primary LanguageJava

spring-boot-rest-service-employee

Employee rest-service

to run the application:

to run the application, use the following commands:

  • docker network create spring-elastic
  • docker build -t spring-rest --build-arg ELASTICSEARCH_URL=http://elasticsearch:9200 --net spring-elastic Dockerfile
  • docker run
  • docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.13.2