feat: add Autobase template (#85)

* feat: add Autobase template

* Added Autobase, an open-source alternative to cloud-managed databases, to the meta.json file with relevant details including version, description, links, logo, and tags.

* Update blueprints/autobase/docker-compose.yml

* Update blueprints/autobase/docker-compose.yml

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
Ali AlNaghmousgh
2025-04-21 07:48:29 +03:00
committed by GitHub
parent 3592e2b46f
commit 76d84319bd
4 changed files with 63 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,16 @@
services:
autobase-console:
image: autobase/console:2.2.0
restart: unless-stopped
ports:
- "80"
- "8080"
environment:
- PG_CONSOLE_API_URL=${PG_CONSOLE_API_URL}
- PG_CONSOLE_AUTHORIZATION_TOKEN=${PG_CONSOLE_AUTHORIZATION_TOKEN}
volumes:
- console_postgres:/var/lib/postgresql
- /tmp/ansible:/tmp/ansible
volumes:
console_postgres:

View File

@@ -0,0 +1,23 @@
[variables]
main_domain = "${domain}"
api_domain = "${domain}"
authenticattion_token = "${base64:32}"
[config]
env = [
"HTTP_PORT=8900",
"API_PORT=8090",
"PG_CONSOLE_API_URL=https://${api_domain}",
"PG_CONSOLE_AUTHORIZATION_TOKEN=${authenticattion_token}",
]
mounts = []
[[config.domains]]
serviceName = "autobase-console"
port = 80
host = "${main_domain}"
[[config.domains]]
serviceName = "autobase-console"
port = 8_080
host = "${api_domain}"