File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function deploy #description 'Deploy an specific service'
9898
9999 # Stop the existing container(s) gracefully
100100 echo " 🛑 Stopping existing $app_name containers..."
101- docker compose exec -ti manager stop " $app_name "
101+ (cd " $SELFHOSTYOURTECH_ROOT " && docker compose exec -ti manager stop " $app_name " )
102102
103103 # Build if forced or if images don't exist
104104 if [ " $force_rebuild " = true ]; then
@@ -108,7 +108,7 @@ function deploy #description 'Deploy an specific service'
108108
109109 # Start the new container(s)
110110 echo " 🚀 Starting $app_name ..."
111- docker compose exec -ti manager start " $app_name "
111+ (cd " $SELFHOSTYOURTECH_ROOT " && docker compose exec -ti manager start " $app_name " )
112112
113113 echo " ✅ $app_name deployed successfully"
114114
You can’t perform that action at this time.
0 commit comments