Sign inSign up

chaya56/java

By chaya56

•Updated almost 8 years ago

Download springboot from artifactory and launch it when external postgresql is ready

Image
0

370

chaya56/java repository overview

#Description This image will download the latest artifact from maven repository (only tested with Artifactory) and run it in a tomcat. If you fill PGHOST env variable it will make a postgres check connection, and wait to start tomcat until database connection is available

#Usages:

  • REPO_URL=http://my-artifactory.com/artifactory⁠
  • REPO_USERNAME=username
  • REPO_PASSWORD=password
  • REPO_NAME=libs-snapshot-local
  • ARTIFACT_GROUP=com.enterprise
  • ARTIFACT_ID=name
  • ARTIFACT_VERSION=2.2.6-SNAPSHOT
  • PGHOST=postgres_host_to_check_availability (optional)
  • PGPORT=postgres_port_to_check_availability (optional)
  • PGUSER=postgres_username_to_check_availability (optional)
  • PGPASSWORD=postgres_password_to_check_availability (optional)

docker run -it -eREPO_URL="http://artifactory.arxcf.com/artifactory⁠ ^ -eREPO_USERNAME=admin ^ -eREPO_PASSWORD=Arx12345 ^ -eREPO_NAME=libs-snapshot-local ^ -eARTIFACT_GROUP=com.arx ^ -eARTIFACT_ID=oauth ^ -eARTIFACT_VERSION=0.0.1-SNAPSHOT ^ java:1

Tag summary

Content type

Image

Digest

Size

199.8 MB

Last updated

almost 8 years ago

docker pull chaya56/java