update maintenance container

This commit is contained in:
Dobromir Popov
2024-05-07 20:20:45 +03:00
parent bae9a98d80
commit 8ceaf513e3
3 changed files with 37 additions and 2 deletions

35
_deploy/maintenance.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="bg">
<!-- put that file in the web root of the maintenance container and rename it. We use nginx, so the path is /usr/share/nginx/html/index.html -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Поддръжка на сайта</title>
<style>
body {
height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
background-color: #f4f4f4;
color: #333;
text-align: center;
}
h1 {
font-size: 24px;
}
p {
font-size: 16px;
}
</style>
</head>
<body>
<div>
<h1>Поддръжка и обновления!</h1>
<p>Съжаляваме за неудобството, но в момента извършваме поддръжка на сайта. Ще се върнем онлайн скоро!</p>
<p>&mdash; Екипът на ССОМ: Специално Свидетелстване на Обществени Места - София</p>
</div>
</body>
</html>

View File

@ -6,7 +6,7 @@ services:
volumes:
- /mnt/docker_volumes/maintenance:/usr/share/nginx/html
ports:
- "81:80"
- "3010:80"
environment:
- NGINX_HOST=nginx
- NGINX_PORT=80