templates/blueprints/autobase/docker-compose.yml
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

17 lines
441 B
YAML

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
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/ansible:/tmp/ansible
volumes:
console_postgres: