From a8e8f564b33b63abe2a89e741ff09673eea3a5fa Mon Sep 17 00:00:00 2001 From: Ali AlNaghmousgh Date: Mon, 28 Apr 2025 01:35:20 +0300 Subject: [PATCH] Autobase template (#103) * 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 * Improve Autobase configuration in docker-compose.yml and template.toml * Add Docker socket volume in docker-compose.yml to enhance container communication. * Update PG_CONSOLE_API_URL in template.toml to include the API version. --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> --- blueprints/autobase/docker-compose.yml | 1 + blueprints/autobase/template.toml | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/blueprints/autobase/docker-compose.yml b/blueprints/autobase/docker-compose.yml index b2ac57f..d9f27a3 100644 --- a/blueprints/autobase/docker-compose.yml +++ b/blueprints/autobase/docker-compose.yml @@ -10,6 +10,7 @@ services: - PG_CONSOLE_AUTHORIZATION_TOKEN=${PG_CONSOLE_AUTHORIZATION_TOKEN} volumes: - console_postgres:/var/lib/postgresql + - /var/run/docker.sock:/var/run/docker.sock - /tmp/ansible:/tmp/ansible volumes: diff --git a/blueprints/autobase/template.toml b/blueprints/autobase/template.toml index 3900973..56edb63 100644 --- a/blueprints/autobase/template.toml +++ b/blueprints/autobase/template.toml @@ -5,9 +5,7 @@ authenticattion_token = "${base64:32}" [config] env = [ - "HTTP_PORT=8900", - "API_PORT=8090", - "PG_CONSOLE_API_URL=https://${api_domain}", + "PG_CONSOLE_API_URL=http://${api_domain}/api/v1", "PG_CONSOLE_AUTHORIZATION_TOKEN=${authenticattion_token}", ] mounts = []