Deploy nopCommerce on TurboStack
Run the nopCommerce .NET e-commerce platform on TurboStack with Microsoft SQL Server behind a managed Nginx reverse proxy.
nopCommerce is an open-source e-commerce platform built on .NET. TurboStack runs nopCommerce as its own service behind an Nginx reverse proxy and connects it to Microsoft SQL Server. You only need to declare the application in your host YAML.
Requirements
Note
nopCommerce uses Microsoft SQL Server, configured with mssql_version, rather than PostgreSQL or MySQL.
Configure it
- Set
webserver: nginxat the host level so TurboStack provisions the reverse proxy. - Set
mssql_versionto the Microsoft SQL Server release nopCommerce should use (for example"2022"). - Add a system user, then define a vhost with
app_type: nopcommerce. TurboStack starts the service and proxies traffic to it. - Set
dotnet_versionto pin the .NET runtime (for example"8.0"). - Request a certificate with
cert_type: letsencryptfor automatic HTTPS.
See Applications for the full list of supported app types and Publish for how to apply your host configuration.
Example configuration
webserver: nginx
mssql_version: "2022" # nopCommerce uses Microsoft SQL Server
system_users:
- username: prod
vhosts:
- server_name: shop.example.com
app_type: nopcommerce
dotnet_version: "8.0" # .NET runtime version
cert_type: letsencrypt
Why these choices
app_type: nopcommercetells TurboStack to run the nopCommerce service and configure the Nginx reverse proxy for it.mssql_versionis required because nopCommerce stores its data in Microsoft SQL Server.dotnet_versionpins the .NET runtime the application runs on.webserver: nginxprovides the reverse proxy layer that fronts the .NET process.cert_type: letsencryptissues and renews Transport Layer Security (TLS) certificates without manual steps.
Related
-
Technologies used: .NET, Microsoft SQL Server.
-
Best practices - performance & stability.
-
Troubleshooting - logs & common fixes.