mirror of
https://github.com/mr-vercetti/tf-aws-demo.git
synced 2026-11-28 22:25:50 +01:00
Add demo-app autoscaling group
This commit is contained in:
1 parent
180ae13b94
commit
9cef061162
7 files changed
+199
-18
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
yum update -y
|
||||
amazon-linux-extras install docker
|
||||
service docker start
|
||||
usermod -a -G docker ec2-user
|
||||
chkconfig docker on
|
||||
|
||||
docker run \
|
||||
-p 80:80 \
|
||||
--restart unless-stopped \
|
||||
nginxdemos/hello
|
||||
Reference in new issue
Block a user