Skip to content

tomreeb/dotcom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomreeb.com

This is my personal website

Credit to Styleshout's Ceevee web template

This site runs in Docker now. DockerHub

Pre-Install

You need to have Docker installed and configured. In order to run tests you need to install Goss.

MacOS via Homebrew

   brew tap rajatvig/rajat
   brew install docker goss

Linux

    yum -y install docker
    curl -fsSL https://goss.rocks/install | sh

How to Use

  • $ make build Builds a container from the Dockerfile
  • $ make push Pushes the container to registry
  • $ make run Runs the container
  • $ make lint Runs a linter against the Dockerfile
  • $ make test Runs tests via Goss
  • $ make start Runs the container in daemon mode
  • $ make shell Runs the container and logs into the shell
  • $ make stop Stops the running container
  • $ make rm Removes the container
  • $ make release Releases the container by building then pushing

Variables

  • $ make build -e VERSION=0.1 Builds a container from the Dockerfile and tags it version 0.1
  • $ make start -e PORTS="-p 80:80" Runs the container in daemon mode mapping container port 80 to host port 80

Note: Variable defaults can be set in make_include file