Files
kidarr-server/Makefile
2024-02-01 20:43:23 +00:00

36 lines
1.3 KiB
Makefile

.PHONY: build-development
build-development: ## Build the development docker image.
docker compose -f hosting/docker/development/docker-compose.yaml build
.PHONY: start-development
start-development: ## Start the development docker container.
docker compose -f hosting/docker/development/docker-compose.yaml up -d
.PHONY: stop-development
stop-development: ## Stop the development docker container.
docker compose -f hosting/docker/development/docker-compose.yaml down
.PHONY: build-staging
build-staging: ## Build the staging docker image.
docker compose -f hosting/docker/staging/docker-compose.yaml build
.PHONY: start-staging
start-staging: ## Start the staging docker container.
docker compose -f hosting/docker/staging/docker-compose.yaml up -d
.PHONY: stop-staging
stop-staging: ## Stop the staging docker container.
docker compose -f hosting/docker/staging/docker-compose.yaml down
.PHONY: build-production
build-production: ## Build the production docker image.
docker compose -f hosting/docker/production/docker-compose.yaml build
.PHONY: start-production
start-production: ## Start the production docker container.
docker compose -f hosting/docker/production/docker-compose.yaml up -d
.PHONY: stop-production
stop-production: ## Stop the production docker container.
docker compose -f hosting/docker/production/docker-compose.yaml down