Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portal updates #11

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions digger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ workflows:
value: "us-east-1"
- name: TF_VAR_allowed_providers
value_from: PROVIDER_LIST
- name: TF_VAR_renterd_seed
value_from: RENTERD_SEED
plan:
steps:
- run: |
Expand Down
2 changes: 1 addition & 1 deletion layers/core/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output "renterd_endpoint" {

output "renterd_s3_endpoint" {
description = "Renterd service endpoint"
value = module.renterd.s3_fqdn
value = "${module.renterd.dns_fqdn}:${module.renterd.s3_port}"
}

output "base_domain" {
Expand Down
4 changes: 2 additions & 2 deletions layers/core/renterd.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "renterd" {
source = "git::https://github.com/LumeWeb/terraform-modules.git//modules/compute/renterd?ref=v0.1.1"
source = "git::https://github.com/LumeWeb/terraform-modules.git//modules/compute/renterd?ref=develop"

name = "pinner-core-renterd"

Expand All @@ -23,7 +23,7 @@ module "renterd" {

network = {
http_port = 80
s3_port = 80
s3_port = 8080
enable_ssl = false
}

Expand Down
3 changes: 2 additions & 1 deletion layers/portal/portal.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ module "portal" {
count = local.portal_instance_count

name = "pinner-portal"
image = "ghcr.io/lumeweb/akash-portal:standard-latest"
image = "ghcr.io/lumeweb/akash-portal:standard-next-next"

domain = local.base_domain
portal_name = var.portal_name
port = var.portal_port
identity = var.portal_identity
cluster = true

resources = {
Expand Down
6 changes: 6 additions & 0 deletions layers/portal/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ variable "portal_domain" {
default = "pinner.xyz"
}

variable "portal_identity" {
description = "Portal identity"
type = string
sensitive = true
}

variable "portal_port" {
description = "Portal core port"
type = number
Expand Down