项目作者: vavilen84

项目描述 :
SImple Golang (Martini framework) based test application
高级语言: Go
项目地址: git://github.com/vavilen84/go-martini-test-app.git
创建时间: 2019-01-27T19:01:21Z
项目社区:https://github.com/vavilen84/go-martini-test-app

开源协议:

下载


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

  1. $ 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

  1. $ cd /project/path
  2. $ docker compose up -d --build

Application URLs: