3-service Docker app: Nginx frontend, Flask REST API backend, PostgreSQL database. Includes lifecycle scripts (prepare, start, stop, remove), docker-compose.yaml, and documentation.
22 lines
646 B
HTML
22 lines
646 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Task Manager</title>
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Task Manager</h1>
|
|
<form id="task-form">
|
|
<input type="text" id="task-input" placeholder="Enter a new task..." required>
|
|
<button type="submit">Add</button>
|
|
</form>
|
|
<ul id="task-list"></ul>
|
|
<p id="empty-msg" class="empty">No tasks yet. Add one above!</p>
|
|
</div>
|
|
<script src="/app.js"></script>
|
|
</body>
|
|
</html>
|