-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
62 lines (59 loc) · 2.05 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_devops():
return '''
<!DOCTYPE html>
<html>
<head>
<title>AWS DevOps Project</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
h1 {
color: #333;
}
p {
color: #777;
}
a {
color: #00a0d2;
text-decoration: none;
}
.social-icons {
font-size: 24px;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<div class="container">
<h1>AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitHub using Terraform</h1>
<p>Welcome to the project homepage!</p>
<p>This project demonstrates the continuous deployment of a Flask app to AWS Fargate using Docker and GitHub.</p>
<p>Visit my GitHub repository for more information: <a href="https://github.com/Yris-ops" target="_blank">GitHub Repo</a></p>
<hr>
<p>Follow me:</p>
<div class="social-icons">
<a href="https://www.linkedin.com/in/antoine-cichowicz-837575b1" target="_blank"><i class="fab fa-linkedin"></i></a>
<a href="https://twitter.com/cz_antoine" target="_blank"><i class="fab fa-twitter"></i></a>
</div>
</div>
<footer style="text-align: center; padding: 10px; background-color: #333; color: #fff;">
© Copyright: Apache License 2.0 | Antoine CICHOWICZ | Github: Yris Ops
</footer>
</body>
</html>
'''
if __name__ == "__main__":
app.run(debug=False)