diff --git a/blueprints/autobase/autobase.svg b/blueprints/autobase/autobase.svg new file mode 100644 index 00000000..8e6bbc96 --- /dev/null +++ b/blueprints/autobase/autobase.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/blueprints/autobase/docker-compose.yml b/blueprints/autobase/docker-compose.yml new file mode 100644 index 00000000..b2ac57f9 --- /dev/null +++ b/blueprints/autobase/docker-compose.yml @@ -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: \ No newline at end of file diff --git a/blueprints/autobase/template.toml b/blueprints/autobase/template.toml new file mode 100644 index 00000000..3900973d --- /dev/null +++ b/blueprints/autobase/template.toml @@ -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}" diff --git a/meta.json b/meta.json index 81d03e64..a846a11a 100644 --- a/meta.json +++ b/meta.json @@ -1,4 +1,17 @@ [ + { + "id": "autobase", + "name": "Autobase", + "version": "2.2.0", + "description": "Autobase for PostgreSQLĀ® is an open-source alternative to cloud-managed databases (DBaaS) such as Amazon RDS, Google Cloud SQL, Azure Database, and more.", + "links": { + "github": "https://github.com/vitabaks/autobase", + "website": "https://autobase.tech/", + "docs": "https://autobase.tech/docs" + }, + "logo": "autobase.svg", + "tags": ["database", "postgres", "self-hosted", "server"] + }, { "id": "appwrite", "name": "Appwrite",