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.
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 |
You must have Docker installed on your computer.
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
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
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
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.
Please ⭐️ this repository if this project helped you!
- EmojiTerra - Copy and paste emojis into your README