mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 14:23:08 +00:00
Update start_services.py to rebuild local AI services on startup
- Modified the command in start_local_ai function to include the --build flag, ensuring that local AI services are rebuilt each time they are started, which helps in applying the latest changes to the services.
This commit is contained in:
@@ -112,7 +112,7 @@ def start_local_ai():
|
||||
"""Start the local AI services (using its compose file)."""
|
||||
print("Starting local AI services...")
|
||||
cmd = ["docker", "compose", "-p", "localai"]
|
||||
cmd.extend(["-f", "docker-compose.yml", "up", "-d"])
|
||||
cmd.extend(["-f", "docker-compose.yml", "up", "-d", "--build"])
|
||||
run_command(cmd)
|
||||
|
||||
def generate_searxng_secret_key():
|
||||
|
||||
Reference in New Issue
Block a user