Public Repository

Last pushed: 3 years ago
Short Description
URL Shortener Service with Spring Boot
Full Description

Docker Compose Usage

Please add following content into your docker-compose.yml

  urlshortener:
      image: linuxchina/url-shortener
      ports:
        - "8080:8080"
      environment:
         DOMAIN_NAME: "http://mydomain.com/"
         REDIS_HOST: "192.168.59.103"

Start url service with Docker Compose

Create a docker-compose.yml with following content:

 redis:
     image: redis:2.8.19
     ports:
       - "6379:6379"
 urlshortener:
     image: linuxchina/url-shortener
     ports:
        - "8080:8080"
     environment:
        DOMAIN_NAME: "http://mydomain.com/"
        REDIS_HOST: "redis.mvnsearch.net"
     links:
      - redis:redis.mvnsearch.net

The redis.mvnsearch.net is the redis host name.

Docker Pull Command
Owner
linuxchina