-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (25 loc) · 697 Bytes
/
Makefile
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
30
31
32
help:
@echo "show-container-logs - display logs for containers."
@echo "run-local - Local environment setup with Dashboard"
@echo "clean - cleans everything."
show-container-logs:
@docker-compose logs -f
build-container:
@echo "Building container..."
@docker-compose build dashboard
@echo "Done"
run-container: build-container
@echo "Running dashboard..."
@docker-compose up -d dashboard
run-services: run-container
@echo "Starting dashboard..."
create-network:
@echo "Creating network..."
@docker network create arcana
@echo "Done"
clean:
@echo "Cleaning..."
@docker-compose down
@echo "Cleaned"
run-local:
@(make create-network && make run-services) || make run-services