GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ServiceStackApps/mono-docker-config: Docker image for running ServiceStack on docker container using mono

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
entrypoint.sh
entrypoint.sh
 
 

Repository files navigation

mono-docker-config

Docker image for running ServiceStack on docker container using mono

#Create Ubuntu Virtual Machine On Azure

Login to Microsoft Azure and click on Add button in Virtual Machines pane

Deploy

In new opened pane type Ubuntu Server in filter string then select Ubuntu Server 14.04 LTS and click button Create

Deploy

To see the rest of the creation process follow the link Create Ubuntu Virtual Machine On Azure

#Run Docker Image

Login to your virtual machine using ssh or putty.

##Install Docker

To install docker you need to run following command:

curl -fsSL https://get.docker.com/ | sh

##Run Docker

Place your application into /var/www/hello-app and then run docker image

sudo docker run -d -p 80:80 \
     -e USERSITE=www.yourdomain.com \
     -e USERLOCATION=/var/www/hello-app \
     -v /var/www:/var/www \
     servicestack/hyperfastcgi

Where

  • USERSITE - Domain name of the site you will run, for example www.yourdomain.com
  • USERLOCATION - Directory where applications is located

After executing the command you will get container ID.

To stop docker container you can run:

sudo docker stop <container ID>

Alternative way. Build docker image from sources

sudo apt-get install git
git clone https://github.com/ServiceStackApps/mono-docker-config
cd mono-docker-config
sudo docker build .

Now you have got docker image which is ready to run. Remember ID of docker image. Place your application into /var/www/hello-app and run the command

sudo docker run -d -p 80:80 \
     -e USERSITE=www.yourdomain.com \
     -e USERLOCATION=/var/www/hello-app \
     -v /var/www:/var/www \
     92627a6cbee6

Where

  • USERSITE - Domain name of the site you will run, for example www.yourdomain.com
  • USERLOCATION - Directory where applications is located
  • 92627a6cbee6 - Docker image ID created on the previous step

About

Docker image for running ServiceStack on docker container using mono

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.