From 6b6bef943a86aa8ed7a116534ff5a258baab160d Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 16 Nov 2024 22:25:36 -0700 Subject: [PATCH] seal --- compose/docuseal.yml | 26 +++++++++++++++++++ fly/.DS_Store | Bin 6148 -> 0 bytes fly/gitea/.DS_Store | Bin 6148 -> 0 bytes fly/gitea/fly.toml | 56 ---------------------------------------- fly/uptimekuma/fly.toml | 25 ------------------ 5 files changed, 26 insertions(+), 81 deletions(-) create mode 100644 compose/docuseal.yml delete mode 100644 fly/.DS_Store delete mode 100644 fly/gitea/.DS_Store delete mode 100644 fly/gitea/fly.toml delete mode 100644 fly/uptimekuma/fly.toml diff --git a/compose/docuseal.yml b/compose/docuseal.yml new file mode 100644 index 0000000..ff8ace5 --- /dev/null +++ b/compose/docuseal.yml @@ -0,0 +1,26 @@ +services: + app: + depends_on: + postgres: + condition: service_healthy + image: docuseal/docuseal:latest + ports: + - 3069:3000 + volumes: + - ./docuseal:/data/docuseal + environment: + - DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal + + postgres: + image: postgres:15 + volumes: + - './pg_data:/var/lib/postgresql/data' + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: docuseal + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 5s + timeout: 5s + retries: 5 \ No newline at end of file diff --git a/fly/.DS_Store b/fly/.DS_Store deleted file mode 100644 index 86e2ff6f0e0b0b5a267ff992f8cad3ff99e12d0a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKI|>3Z5S{S@f{mqRuHX%V=n1@lf+B(_h+1#uxjdS0KFzY&X`#G<$x9~l67q_j z9TCy_Z95a0h{yt#fNaGbHZuP&$K`Lyrkz6%(4D0?}`Rdy}D?a-(I z6`%rCfC^B7Pb-iWb~OIu`L@D>0#K-dj)?GNs z1R?^{paO%c*b%7 diff --git a/fly/gitea/.DS_Store b/fly/gitea/.DS_Store deleted file mode 100644 index c52baae84e7e123c13704e338f83c28aefc1109c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKO-sW-5Pe&FhP5)f&hgB8V^r4ltjal`(OMHr9(W55__8IbQoN)^l$ zn~34l!66(0i1Hg5gtq)HN=>SmDK-%qp}1H|jHOPG7%rC6pK4yF*hGxwaC-P~+S%y| z#f9!%KMm<{SwtI+0b^j3fwMU6$^L(P`24?FWHV#H82DEVxbA2?8uFHOZ{4{$*=tkk q3spq&nuu))jj$CnSGM9SY7qKUF^HLB6OkT@{RjjaY%m6n%D^vV8&!`0 diff --git a/fly/gitea/fly.toml b/fly/gitea/fly.toml deleted file mode 100644 index 6d696dc..0000000 --- a/fly/gitea/fly.toml +++ /dev/null @@ -1,56 +0,0 @@ -# fly.toml app configuration file generated for atrigit on 2024-11-09T01:42:12-07:00 -# -# See https://fly.io/docs/reference/configuration/ for information about how to use this file. -# - -app = 'atrigit' -primary_region = 'sea' -kill_timeout = '5s' - -[build] - image = 'gitea/gitea:latest' - -[env] - GITEA__database__DB_TYPE = 'sqlite3' - GITEA__database__PATH = '/data/gitea/gitea.db' - GITEA__security__INSTALL_LOCK = 'true' - GITEA__server__DOMAIN = 'git.atri.dad' - GITEA__server__ROOT_URL = 'https://git.atri.dad' - GITEA__server__SSH_DOMAIN = 'git.atri.dad' - # GITEA____APP_NAME = "Atri's Code Forge" - # GITEA__mailer__ENABLED = true - # GITEA__mailer__PROTOCOL = 'smtp' - # GITEA__mailer__SMTP_ADDR = 'smtp.mail.service' - # GITEA__mailer__SMTP_PORT = '69' - # GITEA__mailer__FROM = 'person@site.com' - # GITEA__mailer__USER = 'user' - # GITEA__mailer__PASSWD = 'password' - -[[mounts]] - source = 'gitea_data' - destination = '/data' - -[[services]] - protocol = 'tcp' - internal_port = 22 - - [[services.ports]] - port = 22 - -[[services]] - protocol = 'tcp' - internal_port = 3000 - - [[services.ports]] - port = 80 - handlers = ['http'] - force_https = true - - [[services.ports]] - port = 443 - handlers = ['tls', 'http'] - -[[vm]] - memory = '512mb' - cpu_kind = 'shared' - cpus = 1 diff --git a/fly/uptimekuma/fly.toml b/fly/uptimekuma/fly.toml deleted file mode 100644 index dad7bd2..0000000 --- a/fly/uptimekuma/fly.toml +++ /dev/null @@ -1,25 +0,0 @@ -# fly.toml app configuration file generated for atri-uptime on 2024-10-29T00:49:54-06:00 -# -# See https://fly.io/docs/reference/configuration/ for information about how to use this file. -# - -app = 'atri-uptime' -primary_region = 'sea' - -[build] -image = 'louislam/uptime-kuma:1' - -[[mounts]] -source = 'kuma_data' -destination = '/app/data' - -[http_service] -internal_port = 3001 -force_https = true -auto_stop_machines = 'off' -auto_start_machines = true -min_machines_running = 1 -processes = ['app'] - -[[vm]] -size = 'shared-cpu-1x'