Skip to content

Commit

Permalink
chore: improve deployments Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jun 21, 2020
1 parent dc50a9e commit a8bacb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions deployments/bounce.place/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ up:

.PHONY: logs
logs:
while true; do make logs-once; sleep 1; done

.PHONY: logs-once
logs-once:
docker-compose logs --tail=1000 -f

.PHONY: ps pull restart stop kill
Expand All @@ -16,3 +20,6 @@ ps pull restart stop kill:
.PHONY: down
down:
docker-compose down --remove-orphans

.PHONY: re
re: pull up
2 changes: 1 addition & 1 deletion deployments/bounce.place/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
ports:
- 8000
environment:
- VIRTUAL_HOST=bounce.place,bounceinplace.com
- VIRTUAL_HOST=bounce.place
- VIRTUAL_PORT=8000
networks:
- default
Expand Down

0 comments on commit a8bacb3

Please sign in to comment.