-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 638 Bytes
/
Makefile
File metadata and controls
29 lines (20 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: *
list:
@LC_ALL=C $(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$'
up:
docker-compose up -d
down:
docker-compose down
restart: down up
build: # Rebuild all containers and restart
docker-compose build
$(MAKE) restart
install:
cp docker-compose.sample.yml docker-compose.yml
cp docker-compose.dev.yml docker-compose.override.yml
touch azurarelay.env
docker-compose build
bash:
docker-compose exec --user=app relay bash
bash-root:
docker-compose exec relay bash