Browse Source

REAME alter

巴拉迪维 3 years ago
parent
commit
0c1b1c7f11
2 changed files with 14 additions and 9 deletions
  1. 10 1
      README.md
  2. 4 8
      docker/dev.yml

+ 10 - 1
README.md

@@ -10,10 +10,19 @@
 
 ![Screenshot](screenshot.jpg)
 
-[![OSCHINA](https://www.oschina.net/comment/badge/project/64133)](https://www.oschina.net/comment/project/64133)
+<p style="text-align: center">
+<a target="_blank" href="https://github.com/barats/ohUrlShortener/stargazers"><img src="https://img.shields.io/github/stars/barats/ohUrlShortener"/></a>
+<a target="_blank" href="https://github.com/barats/ohUrlShortener/network/members"><img src="https://img.shields.io/github/forks/barats/ohUrlShortener"/></a>
+<a target="_blank" href="https://github.com/barats/ohUrlShortener/issues"><img src="https://img.shields.io/github/issues/barats/ohUrlShortener"/></a>  
+<a target="_blank" href='https://gitee.com/dreamans/syncd/stargazers'><img src='https://gitee.com/barat/ohurlshortener/badge/star.svg?theme=dark' /></a>
+<a target="_blank" href='https://gitee.com/dreamans/syncd/members'><img src='https://gitee.com/barat/ohurlshortener/badge/fork.svg?theme=dark' /></a>
+<a target="_blank" href='https://www.oschina.net/comment/project/64133'><img src='https://www.oschina.net/comment/badge/project/64133'/></a> 
+</p>
 
 ## 部署及构建方式
 
+
+
 ### 1. Docker One Step Start
 
 支持 Docker 一步启动所有服务,运行 `docker/one_step_start.sh` ,该命令将会:  

+ 4 - 8
docker/dev.yml

@@ -5,8 +5,6 @@ services:
     image: postgres:${PG_VERSION}
     container_name: ${PG_CONTAINER_NAME}
     hostname: postgres
-    env_file:
-      - ../docker/vars.env
     environment:
       - POSTGRES_USER=${PG_SUPER_USER}
       - POSTGRES_PASSWORD=${PG_SUPER_PWD}
@@ -23,24 +21,22 @@ services:
       interval: 3s
       retries: 10
     networks:
-      - ohurlshortener      
+      - ohurlshortener
 
   redis:
     image: redis:${RD_VERSION}
     container_name: ${RD_CONTAINER_NAME}
     hostname: redis
-    env_file:
-      - ../docker/vars.env
     ports:
       - ${RD_LOCAL_PORT}:6379
     healthcheck:
-      test: [ "CMD", "redis-cli","-p","6379"]
+      test: [ "CMD", "redis-cli","-p","6379" ]
       timeout: 10s
       interval: 3s
       retries: 10
     networks:
-      - ohurlshortener 
-      
+      - ohurlshortener
+
 networks:
   ohurlshortener:
     driver: bridge