这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ajosegun
Copy link
Contributor

This PR introduces a new Terraform configuration that enables users to easily deploy a private AnythingLLM instance on DigitalOcean.

@timothycarambat
Copy link
Member

The 🐐 returns with another deployment PR. Thank you 🙏

Ping me in Discord for the Contributor role if you are in there - for sure earned it doing this stuff, IaC is such a headache sometimes.

@timothycarambat timothycarambat merged commit fdce3e9 into Mintplex-Labs:master Jul 18, 2023
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello, when trying to use this I am getting the following error

Error: Invalid function argument

│ on main.tf line 33, in locals:
│ 33: env_content = file("../../docker/.env")
│ ├────────────────
│ │ while calling file(path)

│ Invalid value for "path" parameter: no file exists at "../../docker/.env"; this function works only with files that are distributed as part
│ of the configuration source code, so if this file will be created by a resource in this configuration you must instead obtain this result
│ from an attribute of that resource.

Am I missing something?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not running the terraform template from inside the directory the template is in - as you can see it looks two directories up for the docker folder. Change that line if the .env is in the same directory

cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* Adding GCP Deployment Manager Template

* Adding GCP Deployment Manager Template

* Adding GCP Deployment Manager Template

* Update gcp/deployment/DEPLOY.md

Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>

* Update gcp/deployment/DEPLOY.md

Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>

* Update gcp/deployment/DEPLOY.md

Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>

* Update DEPLOY.md

* Update DEPLOY.md

* Update DEPLOY.md

* Adding Digital Ocean Deployment using Terraform

* Adding Digital Ocean Deployment with Terraform

---------

Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants