From 1c03cc72bbb5b4b7567995854e70896c666535ff Mon Sep 17 00:00:00 2001 From: Paulo Nonato Date: Mon, 20 Apr 2026 17:19:07 -0300 Subject: [PATCH] Add Quanto Hello Quantum deployment --- deploy/quanto/html/index.html | 63 +++++++++++++++++++++++++++++++++++ deploy/quanto/stack.yml | 28 ++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 deploy/quanto/html/index.html create mode 100644 deploy/quanto/stack.yml diff --git a/deploy/quanto/html/index.html b/deploy/quanto/html/index.html new file mode 100644 index 0000000..fd4ec47 --- /dev/null +++ b/deploy/quanto/html/index.html @@ -0,0 +1,63 @@ + + + + + + Hello Quantum + + + +
+

Quantum platform

+

Hello Quantum

+

The application container is running on the Gitea Docker host.

+
+ + diff --git a/deploy/quanto/stack.yml b/deploy/quanto/stack.yml new file mode 100644 index 0000000..6573f7c --- /dev/null +++ b/deploy/quanto/stack.yml @@ -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