-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) · 1.47 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
nginx:
docker run --network=docker-operator_proxy -v proxy:/etc/nginx/templates --link health --link registry --link registry --link services-registry --link sp-registry --link settings --link dns-mgmt --link edge --link billing -p 8080:8080 --name=nginx nginx
health:
docker run --name=health-service -e LOG_LEVEL=-1 -e SIGNING_KEY=qwe -e PROBABLES=registry:8080,billing:8080,services-registry:8080,sp-registry:8080,settings:8080,dns-mgmt:8080,edge:8080 ghcr.io/slntopp/nocloud/health:latest
health_rm:
docker stop health && docker rm health-service
health_inspect_base:
docker inspect health > reports/base_health.json
health_inspect_another:
docker inspect health > reports/another_health.json
health_connect:
docker network connect nocloud_n_ione_grpc-internal health-service && docker network connect nocloud_n_ione_proxy health-service
pull_health:
docker rmi ghcr.io/slntopp/nocloud/health:latest && docker pull ghcr.io/slntopp/nocloud/health:dev-billing-plans && docker tag ghcr.io/slntopp/nocloud/health:dev-billing-plans ghcr.io/slntopp/nocloud/health:latest && docker rmi ghcr.io/slntopp/nocloud/health:dev-billing-plans
pull_service_registry:
docker rmi ghcr.io/slntopp/nocloud/services-registry:latest && docker pull ghcr.io/slntopp/nocloud/services-registry:dev-billing-plans && docker tag ghcr.io/slntopp/nocloud/services-registry:dev-billing-plans ghcr.io/slntopp/nocloud/services-registry:latest && docker rm ghcr.io/slntopp/nocloud/services-registry:dev-billing-plans