Skip to content

Commit

Permalink
[#3] .Update removed old docker file, replaced by compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasObenaus committed Feb 3, 2020
1 parent aaeb8aa commit 402bf8e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile.gremlin

This file was deleted.

16 changes: 16 additions & 0 deletions infra/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# This target (taken from: https://gist.github.com/prwhite/8168133) is an easy way to print out a usage/ help of all make targets.
# For all make targets the text after \#\# will be printed.
help: ## Prints the help
@echo "$$(grep -hE '^\S+:.*##' $(MAKEFILE_LIST) | sed -e 's/:.*##\s*/:/' -e 's/^\(.\+\):\(.*\)/\1\:\2/' | column -c2 -t -s :)"

up: sep ## Start infra components
@echo "--> Startup (+build) infra components"
@docker-compose up --build -d

down: sep ## Stop infra components
@echo "--> Stop infra components"
@docker-compose down --remove-orph

sep:
@echo "----------------------------------------------------------------------------------"
7 changes: 7 additions & 0 deletions infra/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3"
services:
tinkerpop:
image: tinkerpop/gremlin-server
ports:
- 8182:8182
network_mode: "bridge"

0 comments on commit 402bf8e

Please sign in to comment.