Deploy LittleShop to Hostinger with Docker and BunkerWeb
- Updated Docker configuration for production deployment - Added SilverPay integration settings - Configured for admin.thebankofdebbie.giize.com deployment - Includes all recent security fixes and improvements 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
26
LittleShop/publish/littleshop.service
Normal file
26
LittleShop/publish/littleshop.service
Normal file
@@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=LittleShop ASP.NET Core Web Application
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
WorkingDirectory=/opt/littleshop
|
||||
ExecStart=/usr/bin/dotnet /opt/littleshop/LittleShop.dll --environment=Localhost
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
KillSignal=SIGINT
|
||||
SyslogIdentifier=littleshop
|
||||
User=www-data
|
||||
Environment=ASPNETCORE_ENVIRONMENT=Localhost
|
||||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
|
||||
Environment=DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
# Security hardening
|
||||
PrivateTmp=true
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/opt/littleshop
|
||||
ReadWritePaths=/opt/littleshop/logs
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user