Files
templates/blueprints/instantdb/template.toml
Harikrishnan Dhanasekaran 294421a380 Feat : Add InstantDB template (#224) (#530)
* feat: add InstantDB template

* added the server service also

* removed the external network

* Update docker-compose.yml

* Update blueprints/instantdb/docker-compose.yml

* Update blueprints/instantdb/docker-compose.yml

* Update docker-compose.yml

* Update blueprints/instantdb/template.toml

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2026-01-07 12:20:45 -06:00

30 lines
755 B
TOML

[variables]
main_domain = "${domain}"
postgres_password = "${password:32}"
postgres_user = "instant"
postgres_db = "instant"
aws_access_key_id = "FILL-YOUR-CREDENTIALS"
aws_secret_access_key = "FILL-YOUR-CREDENTIALS"
aws_region = "us-east-1"
[config]
env = [
"POSTGRES_PASSWORD=${postgres_password}",
"POSTGRES_USER=${postgres_user}",
"POSTGRES_DB=${postgres_db}",
"DATABASE_URL=postgresql://${postgres_user}:${postgres_password}@postgres:5432/${postgres_db}",
"NREPL_BIND_ADDRESS=0.0.0.0",
"PORT=8888",
"HOST=0.0.0.0",
"AWS_ACCESS_KEY_ID=${aws_access_key_id}",
"AWS_SECRET_ACCESS_KEY=${aws_secret_access_key}",
"AWS_REGION=${aws_region}",
]
mounts = []
[[config.domains]]
serviceName = "server"
port = 8888
host = "${main_domain}"