feat(service): add autobase template (#6299)

Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
Vitaliy Kukharik 2026-01-08 19:58:15 +03:00 committed by GitHub
parent 895c6b0e9a
commit 582afc1c8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8015 additions and 4871 deletions

12824
CHANGELOG.md

File diff suppressed because it is too large Load diff

3
public/svgs/autobase.svg Normal file
View file

@ -0,0 +1,3 @@
<svg width="677" height="603" viewBox="0 0 677 603" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M646.296 373.547C633.734 389.485 617.744 402.39 599.514 411.304C581.284 420.219 561.281 424.914 540.988 425.043H302.307C292.153 425.042 282.407 429.04 275.178 436.172C267.95 443.304 263.821 452.996 263.686 463.149V547.344L291.493 505.633C293.506 503.135 296.378 501.478 299.548 500.987C302.717 500.495 305.957 501.205 308.63 502.977C311.304 504.749 313.22 507.455 314.003 510.566C314.787 513.676 314.38 516.967 312.864 519.794L261.369 597.037C260.305 598.619 258.896 599.939 257.249 600.899C255.488 601.916 253.49 602.451 251.456 602.451C249.422 602.451 247.424 601.916 245.663 600.899C244.482 600.134 243.438 599.176 242.573 598.067L191.078 520.824C189.561 517.997 189.155 514.706 189.938 511.596C190.721 508.485 192.637 505.779 195.311 504.007C197.985 502.235 201.224 501.525 204.394 502.016C207.564 502.508 210.436 504.165 212.448 506.663L237.938 547.601V463.149C237.894 454.625 239.557 446.178 242.83 438.307C246.102 430.435 250.917 423.299 256.992 417.318C262.984 411.402 270.109 406.756 277.94 403.659C285.771 400.562 294.147 399.078 302.565 399.295H540.988C557.37 399.328 573.551 395.691 588.344 388.652C603.136 381.612 616.164 371.348 626.47 358.614C636.823 345.736 644.162 330.704 647.949 314.62C651.736 298.537 651.875 281.809 648.355 265.665C642.531 238.717 626.587 215.031 603.812 199.494C587.241 188.108 567.854 181.508 547.778 180.418C527.702 179.328 507.714 183.79 490.008 193.314C483.391 236.071 460.398 274.576 425.896 300.682C424.543 301.696 423.004 302.434 421.367 302.854C419.729 303.273 418.025 303.366 416.351 303.127C414.677 302.888 413.067 302.322 411.613 301.46C410.158 300.599 408.887 299.459 407.873 298.107C406.858 296.754 406.12 295.215 405.701 293.578C405.281 291.94 405.188 290.236 405.427 288.562C405.666 286.888 406.233 285.278 407.094 283.824C407.955 282.369 409.095 281.098 410.447 280.084C425.732 268.541 438.501 254.003 447.975 237.357C457.449 220.711 463.428 202.308 465.547 183.273C465.896 178.129 465.896 172.968 465.547 167.824C466.042 139.22 457.636 111.17 441.492 87.5527C425.347 63.9356 402.262 45.9193 375.431 35.9962C353.756 28.0027 330.469 25.3733 307.558 28.3325C284.647 31.2916 262.792 39.7515 243.86 52.9897C225.925 66.1997 211.372 83.4685 201.393 103.383C191.413 123.298 186.29 145.292 186.443 167.567C186.85 169.825 186.712 172.148 186.04 174.342C185.368 176.537 184.182 178.539 182.581 180.183C181.041 181.778 179.13 182.966 177.017 183.64C174.905 184.315 172.659 184.454 170.48 184.045C156.294 179.969 141.432 178.791 126.781 180.582C112.131 182.373 97.9904 187.095 85.2037 194.468C72.417 201.84 61.2457 211.712 52.3559 223.494C43.466 235.276 37.0396 248.728 33.4598 263.047C29.8801 277.367 29.2202 292.26 31.5195 306.84C33.8189 321.419 39.0304 335.387 46.8433 347.909C54.6563 360.431 64.9107 371.252 76.9953 379.727C89.0798 388.201 102.747 394.156 117.182 397.235H174.084C184.354 397.003 194.172 392.966 201.634 385.906C205.125 382.238 207.855 377.915 209.667 373.187C211.479 368.458 212.336 363.418 212.191 358.356V274.419L184.383 316.388C183.537 317.966 182.37 319.351 180.957 320.453C179.545 321.554 177.918 322.349 176.181 322.787C174.444 323.224 172.635 323.294 170.869 322.992C169.104 322.69 167.421 322.023 165.927 321.034C164.434 320.044 163.164 318.754 162.198 317.246C161.232 315.737 160.591 314.044 160.317 312.274C160.042 310.504 160.14 308.696 160.605 306.966C161.069 305.236 161.889 303.622 163.013 302.227L214.508 224.984C215.652 223.389 217.16 222.09 218.906 221.193C220.652 220.297 222.587 219.83 224.55 219.83C226.512 219.83 228.447 220.297 230.193 221.193C231.939 222.09 233.447 223.389 234.591 224.984L286.086 302.227C287.21 303.622 288.03 305.236 288.495 306.966C288.959 308.696 289.057 310.504 288.783 312.274C288.508 314.044 287.868 315.737 286.901 317.246C285.935 318.754 284.665 320.044 283.172 321.034C281.679 322.023 279.995 322.69 278.23 322.992C276.464 323.294 274.655 323.224 272.918 322.787C271.181 322.349 269.554 321.554 268.142 320.453C266.729 319.351 265.563 317.966 264.716 316.388L237.938 274.419V358.356C237.948 366.837 236.268 375.235 232.997 383.06C229.726 390.885 224.928 397.979 218.885 403.93C206.53 415.758 190.157 422.473 173.054 422.725H114.607H111.775C76.2658 416.238 44.7881 395.911 24.2665 366.215C3.74485 336.519 -4.13957 299.887 2.34768 264.378C8.83494 228.868 29.1625 197.391 58.8584 176.869C88.5544 156.347 125.186 148.463 160.696 154.95C162.564 129.144 170.409 104.126 183.61 81.8728C196.812 59.6199 215.007 40.7424 236.76 26.7319C258.512 12.7214 283.225 3.96203 308.945 1.14597C334.666 -1.67008 360.688 1.53437 384.957 10.5061C416.254 21.9448 443.308 42.6731 462.497 69.9149C481.686 97.1567 492.093 129.611 492.325 162.932C512.957 154.996 535.219 152.232 557.166 154.88C579.113 157.528 600.078 165.508 618.231 178.123C646.523 197.399 666.338 226.799 673.588 260.258C677.684 279.985 677.361 300.375 672.642 319.962C667.924 339.55 658.926 357.85 646.296 373.547Z" fill="#FF5722"/>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -0,0 +1,59 @@
# documentation: https://autobase.tech/docs/
# slogan: Autobase for PostgreSQL® is an open-source alternative to cloud-managed databases (self-hosted DBaaS).
# tags: database, postgres, automation, self-hosted, dbaas
# logo: svgs/autobase.svg
# port: 80
services:
autobase:
image: autobase/console_ui:2.4.1
platform: linux/amd64
environment:
- SERVICE_FQDN_AUTOBASE_80
- PG_CONSOLE_AUTHORIZATION_TOKEN=${SERVICE_PASSWORD_UI}
- PG_CONSOLE_API_HOST=autobase-api
healthcheck:
test: [ "CMD", "curl", "http://localhost:80/" ]
interval: 10s
timeout: 5s
retries: 5
depends_on:
autobase-api:
condition: service_healthy
autobase-db:
image: autobase/console_db:2.4.1
platform: linux/amd64
environment:
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
volumes:
- autobase-db-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 10
autobase-api:
image: autobase/console_api:2.4.1
platform: linux/amd64
environment:
- PG_CONSOLE_DB_HOST=autobase-db
- PG_CONSOLE_DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- PG_CONSOLE_AUTHORIZATION_TOKEN=${SERVICE_PASSWORD_UI}
- PG_CONSOLE_ENCRYPTIONKEY=${SERVICE_BASE64_ENCRYPTIONKEY}
- PG_CONSOLE_LOGGER_LEVEL=${PG_CONSOLE_LOGGER_LEVEL:-info}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/ansible:/tmp/ansible
healthcheck:
test: ["CMD", "curl", "-fsS",
"-H", "accept: application/json",
"-H", "Authorization: Bearer ${SERVICE_PASSWORD_UI}",
"http://localhost:8080/api/v1/version"]
interval: 10s
timeout: 5s
retries: 5
depends_on:
autobase-db:
condition: service_healthy