bmoussaud / xld-micropet-docker

A Microservice sample application using docker and XL Deploy to demo the Application dependencies in XL Deploy 5.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xld-petclinic-docker

A set of Java application packaged using Docker and using the Application dependencies in XLDeploy

Usage

  • set the docker environment
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.99.123:2376"
export DOCKER_CERT_PATH="/Users/bmoussaud/.docker/machine/machines/docker-machine-virtualbox-1"
export DOCKER_MACHINE_NAME="docker-machine-virtualbox-1"
# Run this command to configure your shell:
# eval "$(docker-machine env docker-machine-virtualbox-1)"
  • run mvn clean package

To integrate with XL Deploy,

  • start XL Deploy version 5.1 with the xld-docker-plugin defined here: https://github.com/bmoussaud/xld-docker-plugin
  • run mvn clean install. This command pushthe images in the registry using a timestamp for version and import the XL Deploy DAR file in XL Deploy

deployment with xld-docker-plugin

About

A Microservice sample application using docker and XL Deploy to demo the Application dependencies in XL Deploy 5.1


Languages

Language:HTML 90.0%Language:Java 5.7%Language:CSS 4.3%