Add Apple container deployment for daemon + dashboard
install-apple-container.sh builds and (re)starts both containers (dashboard mounts reports/ read-only, port 8090); --boot installs a LaunchAgent since Apple container has no restart policy. README covers the new deploy path, SearXNG settings, and the dashboard. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<!-- 로그인 시 Apple container 런타임과 us2kr 컨테이너를 기동하는 one-shot 에이전트.
|
||||
__CONTAINER__/__ROOT__ 는 install-apple-container.sh --boot 가 치환한다. -->
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key><string>com.us2kr.container</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/bin/bash</string>
|
||||
<string>-c</string>
|
||||
<string>__CONTAINER__ system start && __CONTAINER__ start us2kr; __CONTAINER__ start us2kr-dashboard</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key><true/>
|
||||
<key>StandardOutPath</key><string>__ROOT__/logs/container-boot.log</string>
|
||||
<key>StandardErrorPath</key><string>__ROOT__/logs/container-boot.log</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user