/go-martini-test-app

SImple Golang (Martini framework) based test application

Primary LanguageGo

go-martini-test-app

Simple Golang (Martini framework) based test application:

Install Docker

https://docs.docker.com/install/

Install docker-compose

https://docs.docker.com/compose/install/

Install docker-hostmanager

https://github.com/iamluc/docker-hostmanager

Run manager

$ docker run -d --name docker-hostmanager --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /etc/hosts:/hosts iamluc/docker-hostmanager

Env

create .env file from .env.dist and set correct env var values

Start with Docker

$ cd /project/path
$ docker compose up -d --build

Application URLs: