diff --git a/Makefile b/Makefile index 5a1d4243..d12cbe5d 100644 --- a/Makefile +++ b/Makefile @@ -42,3 +42,9 @@ test: ## Run tests doc: ## Generate API documentation using swag swag init -g cmd/api/main.go +prod: + git checkout deploy ; \ + git pull origin develop ; \ + git add . ; \ + git commit -m "deploy" ; \ + git push diff --git a/docker-compose.yml b/docker-compose.yml index 4a2ef7b6..8fb0cb9a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -76,7 +76,7 @@ services: - .env restart: always ports: - - "8080:8080" + - "http://hammywallet.ru:8080:8080" volumes: - ./.env:/docker-hammywallet/.env - api-logs:/docker-hammywallet/logs