nas-samba: use SMB_PASSWORD for admin login, configurable username

This commit is contained in:
2026-03-16 23:29:10 +00:00
parent 618e023996
commit c94cbd7f36
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ directory=/app
autostart=true
autorestart=true
priority=20
environment=PORT="8080",UPLOAD_DIR="/nas",DB_PATH="/config/cloudsync.db",JWT_SECRET="%(ENV_JWT_SECRET)s"
environment=PORT="8080",UPLOAD_DIR="/nas",DB_PATH="/config/cloudsync.db",JWT_SECRET="%(ENV_JWT_SECRET)s",SMB_PASSWORD="%(ENV_SMB_PASSWORD)s"
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr