forked from sebastienfr/handsongo
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(docker): update compose file to format 2.0
- Loading branch information
1 parent
b4ad4f0
commit 3a230e9
Showing
4 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
# handsongo micro-service | ||
handsongo: | ||
container_name: handsongo | ||
image: sfeir/handsongo:latest | ||
restart: always | ||
links: | ||
- mongo | ||
ports: | ||
- "8020:8020" | ||
command: /app/handsongo -port 8020 -logl debug -logf text -statd 15s -db mongodb://mongo/spirits | ||
version: '2' | ||
|
||
# bdd mockup | ||
mongo: | ||
container_name: handsongo-mongo | ||
image: mongo:3.4 | ||
restart: always | ||
ports: | ||
- "27017:27017" | ||
services: | ||
# handsongo micro-service | ||
handsongo: | ||
container_name: handsongo | ||
image: sfeir/handsongo:latest | ||
restart: always | ||
external_links: | ||
- mongo:mongo | ||
ports: | ||
- "8020:8020" | ||
command: -port 8020 | ||
-logl debug | ||
-logf text | ||
-statd 15s | ||
-db mongodb://mongo/spirits | ||
|
||
# mongodb db | ||
mongo: | ||
container_name: handsongo-mongo | ||
image: mongo:3.4 | ||
restart: always | ||
ports: | ||
- "27017:27017" |