Add Quanto Hello Quantum deployment
This commit is contained in:
@@ -0,0 +1,63 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>Hello Quantum</title>
|
||||||
|
<style>
|
||||||
|
:root {
|
||||||
|
color-scheme: dark;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
background: #101416;
|
||||||
|
color: #f2f5f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
display: grid;
|
||||||
|
place-items: center;
|
||||||
|
background:
|
||||||
|
linear-gradient(135deg, rgba(43, 190, 179, 0.22), transparent 34%),
|
||||||
|
linear-gradient(315deg, rgba(246, 196, 83, 0.18), transparent 32%),
|
||||||
|
#101416;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
width: min(680px, calc(100vw - 32px));
|
||||||
|
padding: 40px;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 8px;
|
||||||
|
background: rgba(16, 20, 22, 0.78);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0 0 14px;
|
||||||
|
color: #b9c5c9;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0 0 16px;
|
||||||
|
font-size: 48px;
|
||||||
|
line-height: 1.1;
|
||||||
|
}
|
||||||
|
|
||||||
|
strong {
|
||||||
|
color: #64d8cb;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<p><strong>Quantum</strong> platform</p>
|
||||||
|
<h1>Hello Quantum</h1>
|
||||||
|
<p>The application container is running on the Gitea Docker host.</p>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: nginx:1.29-alpine
|
||||||
|
volumes:
|
||||||
|
- /home/elevar/quanto/html:/usr/share/nginx/html:ro
|
||||||
|
networks:
|
||||||
|
- elevarnet
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.swarm.network: elevarnet
|
||||||
|
traefik.http.routers.quanto.entrypoints: websecure
|
||||||
|
traefik.http.routers.quanto.priority: "100"
|
||||||
|
traefik.http.routers.quanto.rule: Host(`quantum.paulononato.com.br`)
|
||||||
|
traefik.http.routers.quanto.service: quanto
|
||||||
|
traefik.http.routers.quanto.tls: "true"
|
||||||
|
traefik.http.routers.quanto.tls.certresolver: letsencryptresolver
|
||||||
|
traefik.http.services.quanto.loadbalancer.passHostHeader: "true"
|
||||||
|
traefik.http.services.quanto.loadbalancer.server.port: "80"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
elevarnet:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user