-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
36 lines (26 loc) · 790 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
33
34
35
36
.ONESHELL:
SHELL = /bin/bash
build: build-leve1-project-components build-level1-project-tools
level1-project: pull up
build-level1-project-components:
DOCKER_BUILDKIT=1 docker-compose build
build-level1-project-tools:
DOCKER_BUILDKIT=1 docker build --tag level1=project .
pull:
docker pull level1-project
docker pull level1-project/department-service
docker pull level1-project/office-service
docker pull level1-project/person-service
docker pull level1-project/role-service
run:
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock level1-project
cbuild:
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock level1-project
up:
docker-compose up -d
down:
docker-compose down
clean:
docker rm -rf $(docker ps -qa)
logs:
docker-compose logs -f