Variablize my email, update freshrss for autoinstall now that the pr is merged
This commit is contained in:
parent
88439a2a8d
commit
dbf2a604e0
4 changed files with 14 additions and 12 deletions
|
@ -6,7 +6,5 @@ Mah Infra
|
|||
## Todo
|
||||
1. get a working wallabag instance
|
||||
https://github.com/wallabag/docker/issues/242
|
||||
2. fix up freshrss once this is addressed
|
||||
https://github.com/FreshRSS/FreshRSS/issues/3349
|
||||
3. Proper networking so i'm not manually updating nginx like a chump
|
||||
4. Fix up the user permissions and work towards rootless
|
||||
2. Proper networking so i'm not manually updating nginx like a chump
|
||||
3. Fix up the user permissions and work towards rootless
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
# main
|
||||
main_dc_name: columbia
|
||||
admin_email_address: amarpreet@minhas.io
|
||||
|
||||
# hashicorp defaults
|
||||
hashi_arch: amd64
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"email": "amarpreet@minhas.io",
|
||||
"email": "{{ admin_email_address }}",
|
||||
"registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:amarpreet@minhas.io"
|
||||
"mailto:{{ admin_email_address }}"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/{{ letsencrypt_account_id }}"
|
||||
|
|
|
@ -60,12 +60,15 @@ job "freshrss" {
|
|||
|
||||
template {
|
||||
data = <<EOH
|
||||
POSTGRES_DB = "freshrss"
|
||||
POSTGRES_USER = "freshrss"
|
||||
POSTGRES_PASSWORD = "{{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
POSTGRES_HOST = "ivyking.node.masked.name"
|
||||
ROOT_URL = "${NOMAD_ADDR_http}"
|
||||
JAVA_ARGS = "-Xmx2048m"
|
||||
POSTGRES_DB = "freshrss"
|
||||
POSTGRES_USER = "freshrss"
|
||||
POSTGRES_PASSWORD = "{{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }}"
|
||||
POSTGRES_HOST = "ivyking.node.masked.name"
|
||||
ROOT_URL = "${NOMAD_ADDR_http}"
|
||||
JAVA_ARGS = "-Xmx2048m"
|
||||
FRESHRSS_ENV = "production"
|
||||
FRESHRSS_INSTALL = " --api_enabled --base_url https://rss.minhas.io --db-base freshrss --db-host ivyking.node.masked.name --db-password {{ with secret "kv/data/freshrss" }}{{ .Data.data.db_pw }}{{ end }} --db-type pgsql --db-user freshrss --default_user asara --language en"
|
||||
TZ = "America/New_York"
|
||||
EOH
|
||||
destination = "secrets/freshrss.env"
|
||||
env = true
|
||||
|
|
Loading…
Reference in a new issue