From 1e168df1d48921dbf67b761d7e36b2c7e11f8c4c Mon Sep 17 00:00:00 2001 From: Art Date: Mon, 27 Sep 2021 18:01:44 +0300 Subject: [PATCH] 40.4 Deploy Application to `docker-ec2` (#40) --- README.md | 4 ++++ support-portal-backend/pom.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2301866..23c0e15 100644 --- a/README.md +++ b/README.md @@ -475,4 +475,8 @@ systemctl restart docker - Allow 443 port from anywhere - Attach `https-443` SG to `docker-ec2` instance +##### 40.4 Deploy Application to `docker-ec2` +- `mvn docker:stop` +- `mvn clean package docker:build docker:start -DskipTests` +- Visit `https://dockerapp.shyshkin.net` -> allow unsecure diff --git a/support-portal-backend/pom.xml b/support-portal-backend/pom.xml index bc5d91e..761ad32 100644 --- a/support-portal-backend/pom.xml +++ b/support-portal-backend/pom.xml @@ -184,7 +184,7 @@ - 8080:8080 + 443:8080 aws-rds