A webserver to forward form contact requests to your email address.
- Clone the repo:
git clone https://github.com/fyxme/request-contact-page.git
- Move the env.list.example file to env.list:
cp env.list.example env.list
- Replace the variables in
env.list
with your credentials and the email addresses you want the email to be forwarded to. - Build the Docker image:
docker build -t golang-request-demo-page .
- Deploy the image:
docker run --env-file env.list --publish 80:8080 --detach --name golang-request-demo-page --rm golang-request-demo-page
- This will run the image in the background. Remove
--detach
if you want to see the output log
- This will run the image in the background. Remove
To stop the container: docker stop golang-request-demo-page