/docker-springboot-ebs

Deploying Springboot Application to AWS Elastic Beanstalk from a Docker Container

Primary LanguageJava

Elastic Beanstalk - Docker and Spring Boot

Deploying Springboot Application to AWS Elastic Beanstalk from a Docker Container

Installation

  • Clone this project
git clone https://github.com/adaofeliz/docker-springboot-ebs.git docker-springboot-ebs
  • Build & Start Application
cd docker-springboot-ebs
mvn clean install
cd target/ebs_deploy/dist/
docker build -t docker-springboot-ebs .
docker run -p 8080:8080 docker-springboot-ebs
cd docker-springboot-ebs
mvn clean install
cd target/ebs_deploy/dist/
eb init # Follow Instructions
eb deploy
eb open
  • Deploy Single File
cd docker-springboot-ebs
mvn clean install
# Use docker-springboot-ebs/target/ebs_deploy/elastic-beanstalk-docker.zip

Try it

License

MIT