File tree Expand file tree Collapse file tree 4 files changed +28
-18
lines changed
Expand file tree Collapse file tree 4 files changed +28
-18
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## v0.0.6 [ UNRELEASED]
3+ ## v0.0.6 [ 18/05/13]
4+ - 18/05/13 chore(docker): update compose file to format 2.0
45- 18/03/19 fix(dao): fix pagination computing
56 refact(dao): factorize ObjectID error
67 chore(make): make Makefile Windows compatible
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ RUN make all && apk del make git && \
2121
2222# by default, the exposed ports are 8020 (HTTP)
2323EXPOSE 8020
24+ ENTRYPOINT ["/app/handsongo" ]
Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ COPY --from=build-env /go/bin/handsongo /app/
2727
2828# by default, the exposed ports are 8020 (HTTP)
2929EXPOSE 8020
30+ ENTRYPOINT ["/app/handsongo"]
Original file line number Diff line number Diff line change 1- # handsongo micro-service
2- handsongo :
3- container_name : handsongo
4- image : sfeir/handsongo:latest
5- restart : always
6- links :
7- - mongo
8- ports :
9- - " 8020:8020"
10- command : /app/handsongo -port 8020 -logl debug -logf text -statd 15s -db mongodb://mongo/spirits
1+ version : ' 2'
112
12- # bdd mockup
13- mongo :
14- container_name : handsongo-mongo
15- image : mongo:3.4
16- restart : always
17- ports :
18- - " 27017:27017"
3+ services :
4+ # handsongo micro-service
5+ handsongo :
6+ container_name : handsongo
7+ image : sfeir/handsongo:latest
8+ restart : always
9+ external_links :
10+ - mongo:mongo
11+ ports :
12+ - " 8020:8020"
13+ command : -port 8020
14+ -logl debug
15+ -logf text
16+ -statd 15s
17+ -db mongodb://mongo/spirits
18+
19+ # mongodb db
20+ mongo :
21+ container_name : handsongo-mongo
22+ image : mongo:3.4
23+ restart : always
24+ ports :
25+ - " 27017:27017"
You can’t perform that action at this time.
0 commit comments