Merge branch 'production'

This commit is contained in:
Dobromir Popov
2024-05-01 15:59:37 +03:00
2 changed files with 52 additions and 0 deletions

18
_deploy/maintenance.yml Normal file
View File

@ -0,0 +1,18 @@
version: "3.8"
services:
nginx:
hostname: maintenance
image: nginx:latest
volumes:
- /mnt/docker_volumes/maintenance:/usr/share/nginx/html
ports:
- "81:80"
environment:
- NGINX_HOST=nginx
- NGINX_PORT=80
restart: always
networks:
- infrastructure_default
networks:
infrastructure_default:
external: true

34
content/maintennce.html Normal file
View File

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="bg">
<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>