daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Oct 8th, 2018 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM openjdk:8-jdk-alpine
  2.  
  3. ARG rhythm_port=2022
  4.  
  5. ENV server.max-http-header-size=16384 \
  6.     bonecp.partitionCount=1 \
  7.     bonecp.maxConnectionsPerPartition=4 \
  8.     bonecp.minConnectionsPerPartition=1 \
  9.     bonecp.acquireIncrement=1 \
  10.     server.port=9090 \
  11.     cassandra.clusterName="Test Cluster" \
  12.     cassandra.contactPoints=172.16.238.5:9042 \
  13.     cassandra.keyspace=seshat \
  14.     cassandra.cl.read=ONE \
  15.     cassandra.cl.write=ONE \
  16.     cassandra.cl.delete=ONE \
  17.     mariadb.driverClass=org.mariadb.jdbc.Driver \
  18.     mariadb.database=seshat \
  19.     mariadb.host=172.16.238.4 \
  20.     mariadb.port=3306 \
  21.     mariadb.user=root \
  22.     mariadb.password=mysql \
  23.     spring.cloud.discovery.enabled=false \
  24.     spring.cloud.config.enabled=false \
  25.     flyway.enabled=false \
  26.     feign.hystrix.enabled=false \
  27.     ribbon.eureka.enabled=false \
  28.     ribbon.listOfServers=172.16.238.2:9090 \
  29.     eureka.client.serviceUrl.defaultZone=http://172.16.238.2:8761/eureka \
  30.     spring.cloud.discovery.enabled=true \
  31.     eureka.instance.hostname=172.16.238.2 \
  32.     eureka.client.fetchRegistry=true \
  33.     eureka.registration.enabled=false \
  34.     eureka.instance.leaseRenewalIntervalInSeconds=1 \
  35.     eureka.client.instanceInfoReplicationIntervalSeconds=1 \
  36.     activemq.brokerUrl=tcp://172.16.238.3:61616 \
  37.     ribbon.eureka.enabled=true \
  38.     system.initialclientid=service-runner \
  39.     system.publicKey.timestamp=${publicKeyTimestamp} \
  40.     system.publicKey.modulus=${publicKeyModulus} \
  41.     system.publicKey.exponent=${publicKeyExponent} \
  42.     rhythm.beatCheckRate=10 \
  43.     rhythm.user=imhotep
  44.  
  45. WORKDIR /tmp
  46. COPY rhythm-service-boot-0.1.0-BUILD-SNAPSHOT.jar .
  47. ENV spring.application.name="rhythm-v1" \
  48.     server.port=$rhythm_port \
  49.     server.contextPath="/rhythm-v1"
  50.  
  51. CMD ["java", "-jar", "rhythm-service-boot-0.1.0-BUILD-SNAPSHOT.jar"]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top