8000 GitHub - duyngha/docker-go: Docker compose for Golang
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

duyngha/docker-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Go

Usage

  • Step 1: Create env file and configure environment variables
cp .env.example .env
  • Step 2: Build the docker container
docker-compose up --build
  • Step 3: Update the entry point in .air.toml
cmd = "go build -o ./tmp/main ./cmd/main.go" // change this path ./cmd/main.go

About

Docker compose for Golang

Resources

Stars

Watchers

Forks

Packages

No packages published
0