URL Shortener Service with Spring Boot
279
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"
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.
Content type
Image
Digest
sha256:20ce20b72…
Size
-
Last updated
almost 11 years ago
docker pull linuxchina/url-shortener