Skip to content
Snippets Groups Projects
Commit b2036e85 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-792: Dont start dependend services in 'make run' to prevent recreating their containers

parent 6b6ca435
Branches
Tags
1 merge request!338L2SS-792: Fix not being able to connect to database
...@@ -106,7 +106,7 @@ else ...@@ -106,7 +106,7 @@ else
endif endif
# #
# When running in network=host mode, point devices at a port on the host # When uunning in network=host mode, point devices at a port on the host
# machine rather than at the container. # machine rather than at the container.
# #
ifeq ($(NETWORK_MODE),host) ifeq ($(NETWORK_MODE),host)
...@@ -160,7 +160,7 @@ up: minimal ## start the base TANGO system and prepare requested services ...@@ -160,7 +160,7 @@ up: minimal ## start the base TANGO system and prepare requested services
$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) up --no-start --no-recreate $(SERVICE) $(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) up --no-start --no-recreate $(SERVICE)
run: minimal ## run a service using arguments and delete it afterwards run: minimal ## run a service using arguments and delete it afterwards
$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) run --rm $(SERVICE) $(SERVICE_ARGS) $(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) run --no-deps --rm $(SERVICE) $(SERVICE_ARGS)
down: ## stop all services and tear down the system down: ## stop all services and tear down the system
$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) down $(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment