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:
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}"
|
||||
Reference in New Issue
Block a user