文件名称:url-shortener:URL 缩短服务
文件大小:8KB
文件格式:ZIP
更新时间:2024-06-24 17:05:13
Java
URL缩短服务 用法 请查看 application.properties 并更改您的设置。 生成短网址 curl -vX POST http://localhost:8080/http://www.taobao.com 发展 请安装 Docker Compose 并启动 Redis 容器。 构建 Docker 镜像 $ mvn -DskipTests clean package $ docker build -t linuxchina/url-shortener . Docker Compose 使用 请将以下内容添加到您的 docker-compose.yml 中 urlshortener: image: linuxchina/url-shortener ports: - "8080:8080" environment:
【文件预览】:
url-shortener-master
----.gitignore(1KB)
----Dockerfile(283B)
----src()
--------main()
--------test()
----docker-compose.yml(62B)
----pom.xml(3KB)
----README.md(1KB)