Skip to content

An example project with pre-configured Docker container to run and test the latest Umbraco build.

Notifications You must be signed in to change notification settings

thecogworks/umbraco-core-docker-example

Repository files navigation

An example project with pre-configured Docker container to run and test the latest Umbraco build.

Umbraco + Docker = <3

Installation & Usage

  1. Download Docker and install it if you don't have it on your machine yet.

  2. Set up/change the password for the SA database user specified in configs/ms.sql.env file.

SA_PASSWORD=examplepasswordtodb
ACCEPT_EULA=Y
  1. Run the following commands in the directory with docker-compose.yml:

Build and run all the configured services:

> docker-compose up -d

Dedicated service composition (e.g. just Umbraco project named umbraco-netcore in this demo):

> docker-compose up -d umbraco-netcore
  1. Configure the database on the created MSSQL server instance by connecting to it using e.g. SQL Management Studio or Azure Data Studio.

  2. After successfull build (it may take a while at the first time!) and database creation, visit: localhost:8080 (default configuration) and continue with Umbraco installation (same as usual).

Umbraco v9 Installation

  1. The host has a changing IP address (or none if you have no network access). Use the special DNS name host.docker.internal which resolves to the internal IP address used by the host. This is for development purpose and will not work in a production environment outside of Docker Desktop for Windows.

Umbraco DB Config on Docker

Known issues

  • Missing dictionary items / translations after starting the Docker container

Resources:

.NET Core Alpha Release

Umbraco, Docker and Kubernetes - Should We Care?

About

An example project with pre-configured Docker container to run and test the latest Umbraco build.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages