-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0928402
commit 331029d
Showing
2 changed files
with
29 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
.PHONY: build up down | ||
|
||
IMAGE_TAG?=0.0.1 #set Image tag from release version | ||
|
||
build: | ||
docker-compose build | ||
IMAGE_TAG=${IMAGE_TAG} docker-compose build | ||
|
||
up: | ||
docker-compose up -d | ||
IMAGE_TAG=${IMAGE_TAG} docker-compose up -d | ||
|
||
down: | ||
docker-compose down | ||
|
||
deploy: | ||
sudo ./deploy.sh | ||
|
||
bash: | ||
docker-compose exec api sh |
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