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 86e2ff6..0000000 Binary files a/fly/.DS_Store and /dev/null differ diff --git a/fly/gitea/.DS_Store b/fly/gitea/.DS_Store deleted file mode 100644 index c52baae..0000000 Binary files a/fly/gitea/.DS_Store and /dev/null differ 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'