templates/blueprints/autobase/template.toml
Ali AlNaghmousgh a8e8f564b3
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>
2025-04-27 16:35:20 -06:00

22 lines
427 B
TOML

[variables]
main_domain = "${domain}"
api_domain = "${domain}"
authenticattion_token = "${base64:32}"
[config]
env = [
"PG_CONSOLE_API_URL=http://${api_domain}/api/v1",
"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}"