40.4 Deploy Application to docker-ec2 (#40)
This commit is contained in:
@ -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
|
||||
|
||||
@ -184,7 +184,7 @@
|
||||
</build>
|
||||
<run>
|
||||
<ports>
|
||||
<post>8080:8080</post>
|
||||
<port>443:8080</port>
|
||||
</ports>
|
||||
<env>
|
||||
<SPRING_PROFILES_ACTIVE>aws-rds</SPRING_PROFILES_ACTIVE>
|
||||
|
||||
Reference in New Issue
Block a user