mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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:
parent
3592e2b46f
commit
76d84319bd
11
blueprints/autobase/autobase.svg
Normal file
11
blueprints/autobase/autobase.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 20 KiB |
16
blueprints/autobase/docker-compose.yml
Normal file
16
blueprints/autobase/docker-compose.yml
Normal 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:
|
23
blueprints/autobase/template.toml
Normal file
23
blueprints/autobase/template.toml
Normal 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}"
|
13
meta.json
13
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",
|
"id": "appwrite",
|
||||||
"name": "Appwrite",
|
"name": "Appwrite",
|
||||||
|
Loading…
Reference in New Issue
Block a user