-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Reorganize release/build structure
- Loading branch information
Showing
5 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.PHONY: build run stop up clean logs ssh | ||
|
||
# Define the docker-compose file location | ||
DOCKER_COMPOSE_FILE := .build/docker/docker-compose.yml | ||
|
||
# Build the Docker image | ||
build: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) build | ||
|
||
# Run the Docker container | ||
run: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) up | ||
|
||
# Stop the Docker container | ||
stop: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) down | ||
|
||
# Build and run the Docker container | ||
up: build run | ||
|
||
# Clean up Docker resources | ||
clean: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) down --rmi all --volumes --remove-orphans | ||
|
||
# Show logs | ||
logs: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) logs -f | ||
|
||
# SSH into the running container | ||
ssh: | ||
docker compose -f $(DOCKER_COMPOSE_FILE) exec seda-data-proxy sh |