My First Post

Hello and Welcome to my blog. I’m Jenny Lawrance, Software engineer at Microsoft working on Azure App Service.

Given I spent some time trying to create a brand new site, and host it on my favorite azure service, I’m going to put that in writing as well.

Hugo

http://www.gohugo.io for the contents. Hugo makes blog authoring a super easy task, with no database dependencies. The net result of hugo is that I can generate a static web site, which I can then host on my favorite Azure service :)

Azure app service

nginx doker container hosted with multi-container compose format.

The compose file used for this app

version: '3.1'

services:

  nginx:
    image: nginx:1.7.9
    ports:
      - 8080:80
    volumes:
      - ${WEBAPP_STORAGE_HOME}/site/wwwroot:/usr/share/nginx/html

Configuration on the web app

Since this app requires azure app service storage, we use an app setting to enable that functionality.

WEBSITES_ENABLE_APP_SERVICE_STORAGE, set to "true"