-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
executable file
·90 lines (61 loc) · 3.14 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
VERSION=0.0.1
OS_ARCH=linux_amd64
default:
docker compose -f docker-compose.local_deploy.yml build
build:
docker compose -f docker-compose.local_deploy.yml build
up:
docker compose -f docker-compose.local_deploy.yml up
control_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build control
control_build:
docker compose -f docker-compose.local_deploy.yml build --no-cache control
csc_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build csc
flan_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build flan
dog_agent_ex_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build dog_agent_ex
dog_agent_ex_restart:
docker compose -f docker-compose.local_deploy.yml restart dog_agent_ex
dog_agent_ex_build_tar:
cd dog_agent_ex; docker build --output=. --target=tar -f Dockerfile.local_deploy .
dog_agent_rebuild:
BUILDKIT_PROGRESS=plain docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build dog_agent
dog_agent_build_tar:
cd dog_agent; docker build --output=. --target=tar -f Dockerfile.local_deploy .
dog_agent_restart:
docker compose -f docker-compose.local_deploy.yml restart dog_agent
dog_agent_shell:
docker exec -it dog-agent /bin/bash
dog_park_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build dog_park
dog_park_build_tar-local:
cd dog_park; docker build --no-cache --output=. --target=tar -f Dockerfile --build-arg REACT_APP_DOG_API_ENV="local" --build-arg REACT_APP_DOG_API_HOST="http://dog" .
dog_park_build_tar-pro:
cd dog_park; docker build --no-cache --output=. --target=tar -f Dockerfile --build-arg REACT_APP_DOG_API_ENV="pro" --build-arg REACT_APP_DOG_API_HOST="https://dog-pro.relaydev.sh" .
dog_trainer_build:
docker compose -f docker-compose.local_deploy.yml build dog_trainer --no-cache
dog_trainer_build_tar:
cd dog_trainer; docker build --output=. --target=tar --no-cache -f Dockerfile.local_deploy .
dog_trainer_console:
docker exec -it dog-trainer /opt/dog_trainer/bin/dog_trainer remote_console
dog_trainer_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build dog_trainer
dog_trainer_restart:
docker compose -f docker-compose.local_deploy.yml restart dog_trainer #restart to recreate dog db
dog_trainer_shell:
docker exec -it dog-trainer /bin/bash
kong_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build kong
rabbitmq_build:
docker compose -f docker-compose.local_deploy.yml build rabbitmq --no-cache
rabbitmq_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build rabbitmq
rethinkdb_rebuild:
docker compose -f docker-compose.local_deploy.yml up -d --force-recreate --no-deps --build rethinkdb
rethinkdb_rm:
docker container stop rethinkdb
docker container rm rethinkdb
docker volume prune -f
rethinkdb_delete_data: rethinkdb_rm rethinkdb_rebuild dog_trainer_restart control_rebuild dog_agent_restart dog_agent_ex_restart