fix: update Honcho config path to HoardingCow, point fork to Hermes/honcho
- Update Dockerfile to clone from code.lazyworkhorse.net/Hermes/honcho.git (uses build arg HONCHO_REPO, can be overridden at build time) - Add config.toml volume mount from HoardingCow persistent path - Use named volume honcho_data instead of host bind mount - Declare honcho_data as external volume in top-level volumes section
This commit is contained in:
17
replace_compose.py
Normal file
17
replace_compose.py
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Copy the updated txt file over the original yml file."""
|
||||
import shutil
|
||||
import os
|
||||
|
||||
src = "/opt/data/projects/gortium/compose/ai/compose_updated.txt"
|
||||
dst = "/opt/data/projects/gortium/compose/ai/compose.yml"
|
||||
|
||||
# Check src exists
|
||||
print(f"Source exists: {os.path.exists(src)}")
|
||||
print(f"Source size: {os.path.getsize(src)} bytes")
|
||||
print(f"Destination exists: {os.path.exists(dst)}")
|
||||
|
||||
# Copy
|
||||
shutil.copy2(src, dst)
|
||||
print(f"Copied {src} -> {dst}")
|
||||
print(f"Destination size: {os.path.getsize(dst)} bytes")
|
||||
Reference in New Issue
Block a user