Removed docker swarm config
Added K8S config With big refactor
This commit is contained in:
19
Makefile
19
Makefile
@@ -1,22 +1,13 @@
|
||||
DEPLOY_DIR := ./deploy
|
||||
|
||||
init:
|
||||
- sh ${DEPLOY_DIR}/scripts/init-k8s.sh
|
||||
|
||||
up:
|
||||
- sh ${DEPLOY_DIR}/scripts/start-docker.sh
|
||||
|
||||
down:
|
||||
- docker stack rm egommerce
|
||||
|
||||
k8s-up:
|
||||
- sh ${DEPLOY_DIR}/scripts/start-k8s.sh
|
||||
|
||||
k8s-down:
|
||||
- kubectl delete -f deploy/k8s/stack.yml
|
||||
down:
|
||||
- sh ${DEPLOY_DIR}/scripts/stop-k8s.sh
|
||||
|
||||
# GENERATING CERTS
|
||||
certs:
|
||||
- bash ${DEPLOY_DIR}/scripts/gen-certs.sh
|
||||
|
||||
volumes-restart:
|
||||
- docker stack rm egommerce
|
||||
- docker volume prune -af
|
||||
- sh ${DEPLOY_DIR}/start-stack.sh
|
||||
|
||||
Reference in New Issue
Block a user