Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • curtismccaw 1 post 21 karma points
    5 days ago

    Best way to run Umbraco on Mac Os

    Hi community,

    Looking some advice on the best way to develop Umbraco dotnet core on Mac OS and best options for databases. Keen to avoid Virtual Machine (if possible).

  • GunsRoseSS 10 posts 60 karma points
    5 days ago

    Looking at the official website, Umbraco 10+ supports SQLite databases, which can be run on Windows, Mac and Linux. For server hosting you should try Kestrel instead of IIS.

  • wmotr 16 posts 126 karma points
    3 days ago


    I am a MacOS user, and I suggest :

    • using a normal C# editor (Jetbrains Rider, Visual Studio , VS Code but a but tricky)

    • a custom Program.cs settings like this one .ConfigureAppConfiguration((ctx, builder) => { builder.AddJsonFile("appsettings.json", false, false) .AddJsonFile("appsettings.Development.json", optional: true, reloadOnChange: false) .AddJsonFile("appsettings.local.json", optional: true, reloadOnChange: false) .AddEnvironmentVariables(); });

    • and your appsettings.local.json contains :

    "ConnectionStrings": { "umbracoDbDSN": "Server=;Database=Umbraco;user=SA;password='password';TrustServerCertificate=False;Encrypt=False"},

    • using a docker-compose.yml that you start in Docker, with this kind of template :

    version: '3.3' services: umbraco-db: container_name: umbraco-db image: volumes: - ./data:/var/opt/mssql/data:rw environment: ACCEPT_EULA: "1" MSSQL_SA_PASSWORD: "password" MSSQL_PID: "Developer" MSSQL_USER: "SA"

    it should be working well.

    please note that you need to create a Database (using Azure Data Studio for exemple) named Umbraco inside your brand new container.

Please Sign in or register to post replies

Write your reply to: