Remove dev server info for future deployments
This commit is contained in:
Родитель
2136621c7c
Коммит
99fe8a2def
8
Makefile
8
Makefile
|
@ -1,6 +1,4 @@
|
|||
BUILD_CONTAINER_NAME ?= idm-docker-staging.packages.idmod.org/sfim-build-env:latest
|
||||
DEPLOY_SERVER ?= 40.112.165.255
|
||||
DEPOLY_USERNAME ?= useradmin
|
||||
|
||||
.PHONY= get_version build-r-env build-r-package build-api help
|
||||
|
||||
|
@ -41,9 +39,3 @@ build-production: build-r-package get_version ## Builds the api
|
|||
publish-production: build-production ## Publishes the API
|
||||
docker-compose -f docker-compose.production.yml push
|
||||
|
||||
deploy-api: ## Deploys over ssh to prod server. Requires setup of ssh before hand
|
||||
# setup should just be ssh-copy-id $(DEPOLY_USERNAME)@$(DEPLOY_SERVER)
|
||||
export DOCKER_HOST=ssh://$(DEPOLY_USERNAME)@$(DEPLOY_SERVER) && \
|
||||
docker-compose -f docker-compose.production.yml pull && \
|
||||
docker-compose -f docker-compose.production.yml up -d
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче