Skip to content

A Dockerized meditation timer web application written in Go, HTML, JavaScript and CSS.

License

Notifications You must be signed in to change notification settings

smithlabs/gomeditateapp-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gomeditateapp-docker

Dancing Gopher

A Dockerized meditation timer web app written in Golang, JavaScript, CSS, and HTML5.

Links

View the web application deployed to AWS.

View my smithlabs/gomeditate-terraform repo with full code for the Terraform and AWS deploy.

🛰️ Technologies

Docker Go JavaScript CSS3 HTML5 GitHub Actions

🔭 Overview

This following GitHub Actions are setup.

Event Description DockerHub GitHub Action
Main commit Build and pushes image to DockerHub with latest tag. smithlabs/gomeditateapp:latest docker-latest.yml
Tagging Build and pushes image to DockerHub with the matching tag. smithlabs/gomeditateapp:1.0.0 docker-tags.yml
Pull request Builds and pushes the image to DockerHub with the pr_build tag. smithlabs/gomeditateapp:pr_build docker-pr.yml

🐾 Pre-requisites

You must have Docker installed on your computer.

🐇 Quickstart

Method One: Pull the container from my Dockerhub

sudo docker run --rm --name app -d -p 8080:8080 smithlabs/gomeditateapp:1.0.0

Access the web app in your browser: http://localhost:8080

Rain

Clean up when done.

sudo docker stop app

Method Two: Build the multi-stage container and run it.

git clone https://github.com/smithlabs/gomeditateapp-docker && cd gomeditateapp-docker
sudo docker build -t gomeditateapp .
sudo docker run --rm --name app -d -p 8080:8080 gomeditateapp

Access the web app in your browser: http://localhost:8080

Beach

Clean up when done.

sudo docker stop app

Method Three: Deploy this project to AWS using Terraform.

See my other repository with full code and examples: smithlabs/gomeditate-terraform

⬆ back to top

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests and examples as appropriate.

🏆 Show your support

Please ⭐️ this repository if this project helped you!

Resources

  • EmojiTerra - Copy and paste emojis into your README

📝License

MIT