Fix volume SELinux labels and build.sh deploy instructions

- quadlet: :Z → :z (shared) to allow concurrent access with asr.service
- build.sh: --user systemd → system systemd paths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
du5t
2026-06-11 15:32:20 +09:00
parent a618f59820
commit ab6df14044
2 changed files with 8 additions and 8 deletions

View File

@@ -9,10 +9,10 @@ Image=localhost/asr-v2:latest
Network=proxy
User=983:983
PublishPort=172.30.1.41:18101:8000
Volume=/srv/asr/models-cache:/srv/asr/models-cache:Z
Volume=/srv/asr/uploads:/srv/asr/uploads:Z
Volume=/srv/asr/results:/srv/asr/results:Z
Volume=/srv/asr/custom-models:/srv/asr/custom-models:Z
Volume=/srv/asr/models-cache:/srv/asr/models-cache:z
Volume=/srv/asr/uploads:/srv/asr/uploads:z
Volume=/srv/asr/results:/srv/asr/results:z
Volume=/srv/asr/custom-models:/srv/asr/custom-models:z
EnvironmentFile=/srv/asr/env/asr.env
AddDevice=nvidia.com/gpu=all
HealthCmd=curl -sf http://127.0.0.1:8000/health