Copied to clipboard

Flag this post as spam?

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


  • steinar mar 4 posts 74 karma points
    1 week ago
    steinar mar
    0

    Umbraco 15 - Docker install

    Hi folks

    This is just put here for someone else that is trying to install umbraco 15 via docker and runs into the same problems I had.

    My plan originally was to use my prior docker config that used sqlite as the database, but no matter what I did, I could not get that to work (worked fine with version 13, setting useHttps to false in appsettings.json got the installation process past setting some db tables but then I got to a https oauth redirect error or just a timeout with umbraco waiting for the db connection). So If anyone has a working umbraco 15 with sqlite db - let me know!

    When trying out what the documentation recommends for a docker install I had better luck, but not without some problems though:

    Dotnet version: in the umbraco dockerfile, change dotnet versions from 8 to 9.

    In the Database Dockerfile, I had to change from mcr.microsoft.com/azure-sql-edge:latest to mcr.microsoft.com/mssql/server:2022-latest

    and update all use of /opt/mssql-tools/bin/sqlcmd to /opt/mssql-tools18/bin/sqlcmd (in the startup and healthcheck scripts)

    I also added -C to the commands using the mssql-tools18

    hope this helps someone.

Please Sign in or register to post replies

Write your reply to:

Draft