-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Digital Ocean deploy tweaks ## JIRA Ticket None (Fieldmark) ## Description Some minor updates to the DO configuration to correct some bugs and add a few more configuration options. ## Checklist - [x] I have confirmed all commits have been signed. - [x] I have added JSDoc style comments to any new functions or classes. - [x] Relevant documentation such as READMEs, guides, and class comments are updated.
- Loading branch information
Showing
8 changed files
with
58 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,24 @@ module "couchdb" { | |
couchdb_env_b64 = filebase64("./conductor.env") | ||
do_token = var.do_token | ||
authorized_key = file("./assets/public_key.pub") | ||
region = "syd1" | ||
droplet_size = "s-1vcpu-1gb" | ||
couchdb_volume_size = 100 | ||
} | ||
|
||
# module "conductor" { | ||
# # source = "[email protected]:FAIMS/FAIMS3.git//infrastructure/digital-ocean/conductor" | ||
# source = "../conductor" | ||
# subdomain = "demo.fieldmark.app" | ||
# contact_email = var.contact_email | ||
# do_token = var.do_token | ||
# conductor_env_b64 = filebase64("./conductor.env") | ||
# conductor_pub_key_b64 = filebase64("./assets/public_key.pem") | ||
# conductor_pvt_key_b64 = filebase64("./assets/private_key.pem") | ||
# authorized_key = file("./assets/public_key.pub") | ||
# } | ||
module "conductor" { | ||
# source = "[email protected]:FAIMS/FAIMS3.git//infrastructure/digital-ocean/conductor" | ||
source = "../conductor" | ||
subdomain = "demo.fieldmark.app" | ||
contact_email = var.contact_email | ||
do_token = var.do_token | ||
conductor_env_b64 = filebase64("./conductor.env") | ||
conductor_pub_key_b64 = filebase64("./assets/public_key.pem") | ||
conductor_pvt_key_b64 = filebase64("./assets/private_key.pem") | ||
authorized_key = file("./assets/public_key.pub") | ||
region = "syd1" | ||
droplet_size = "s-1vcpu-1gb" | ||
} | ||
|
||
variable "do_token" { | ||
description = "digital ocean access token" | ||
|