feat(deploy): prompt for service ports at install time; replace hardcoded 5000/5001/5002 with __PORT_*__ placeholders

This commit is contained in:
daniel-c-harvey
2026-06-04 13:27:00 -04:00
parent c14c032081
commit dfd6d33142
7 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ ExecStart=%h/api/deepdrft/bin/DeepDrftAPI
# Non-secret config — hardcoded; no plaintext file needed.
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_URLS=http://localhost:5002
Environment=ASPNETCORE_URLS=http://localhost:__PORT_API__
# Secrets — loaded at startup into $CREDENTIALS_DIRECTORY/.
# Files live at %h/.config/credentials/ (deepdrft:deepdrft 600).
+1 -1
View File
@@ -13,7 +13,7 @@ ExecStart=%h/manager/bin/DeepDrftManager
# Non-secret config — hardcoded; no plaintext file needed.
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_URLS=http://localhost:5001
Environment=ASPNETCORE_URLS=http://localhost:__PORT_MANAGER__
# Secrets — loaded at startup into $CREDENTIALS_DIRECTORY/.
# File lives at %h/.config/credentials/ (deepdrft:deepdrft 600).
+1 -1
View File
@@ -13,7 +13,7 @@ ExecStart=%h/public/bin/DeepDrftPublic
# Non-secret config — hardcoded; no plaintext file needed.
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=ASPNETCORE_URLS=http://localhost:5000
Environment=ASPNETCORE_URLS=http://localhost:__PORT_PUBLIC__
# Secrets — loaded at startup into $CREDENTIALS_DIRECTORY/.
# File lives at %h/.config/credentials/ (deepdrft:deepdrft 600).