Skip to content

Latest commit

 

History

History
 
 

config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Config service

�1. Build docker image

1.1 Modify maven-settings.xml to adapt your environment

default maven-settings.xml adapt rainbond

<?xml version="1.0" encoding="UTF-8"?>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <mirrors>
    <mirror>
      <id>rainbond-mirror</id>
      <mirrorOf>*</mirrorOf>
      <name>rainbond-mirror</name>
      <url>http://maven.goodrain.me/</url>
    </mirror>
</mirrors>

</settings>

1.2 Build image

docker build -t config .

3. ENV

Name Default Value Info Required
PORT 8888 Server Port NO
CONFIG_PASS NULL Service Password Yes

3. Local test

docker run -it -e CONFIG_SERVICE_PASSWORD=pass4you config