Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syedsaadahmed/golangdockerize
Dockerize GOLANG setup for development including initial go modules and packages setup
https://github.com/syedsaadahmed/golangdockerize
docker-compose dockerfile golang golang-module golang-package
Last synced: 24 days ago
JSON representation
Dockerize GOLANG setup for development including initial go modules and packages setup
- Host: GitHub
- URL: https://github.com/syedsaadahmed/golangdockerize
- Owner: syedsaadahmed
- Created: 2020-05-03T05:18:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T22:44:18.000Z (over 4 years ago)
- Last Synced: 2024-11-09T05:32:42.335Z (3 months ago)
- Topics: docker-compose, dockerfile, golang, golang-module, golang-package
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GOLANGDockerize
## A Brief Introduction
Here is the Dockerize GOLANG setup for development including initial go modules and packages setup, ready to go environment in a Docker container.
## Pre-requisites
One must have Docker installed in his local system for deploying this GOLANG setup easily.
## Running the docker-compose setup
```
docker-compose up -d
```It will deploy the container named as learningpack, no need of any manual or human intervention.
## Accessing the container
Using SSH
```
ssh -p 2228 hello@localhost
```And the password is also
```
hello
```## Inside the container
The source folder present in the repository, which contains the working code is being pushed inside the container at the following address;
```
/opt/go/src/learningpack
```