This app is a simple blockchain in go with a web frontend.
make
IP
: Bind IP of the go appPORT
: Bind PORTPOSTGRES_URL
: postgresql URLPOSTGRES_PASSWORD
: postgresql password
- Create docker image (
Dockerfile
)- Build go
- Use Binary
- Expose port
- Use the service (
docker-compose.yml
)- Build docker image
- Configure go and run the app on port 8000
- Create postgresql database and link it
- Bonus: Create a swagger ui with swaggerapi