Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Configuration Server with Docker

This project is developed to create a docker machine to host configuration server.

Docker Project Specifications

  • JRE Version: openjkd/8-jre
  • Exposed ports:
    • 8888 - HTTP Port


You can download the image with this command line:

docker pull tpedocker/configuration

Docker-compose example (as a dependency image)

version: '2.1'
    build: .
      - "8080:8080"
        condition: service_healthy
      - config-server
    image: tpedocker/configuration
      - "8888"
      test: ["CMD", "curl", "-i", "http://localhost:8888"]
      interval: 10s
      timeout: 5s
      retries: 5
      - ./asset/config:/config

Standalone example

You can run this image like this:

docker run -dit --name configuration -p 8888:8888 -v ./{relative path to host config file directory}:/config tpedocker/configuration

Change {relative path to host config file directory} with your config property files directory.
This directory will be used as a volume corresponding to /config in the container.

In QA and PROD environments, be careful with config files. Client App specific properties must be in a sub-directory named with the app's name.

Docker Pull Command