From c9748bd58dd1752e788ee2619edb462d2774d878 Mon Sep 17 00:00:00 2001 From: Otho Date: Sat, 24 Feb 2024 17:03:29 -0500 Subject: [PATCH] Add proper .env.dist. --- .env.dist | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) mode change 120000 => 100644 .env.dist diff --git a/.env.dist b/.env.dist deleted file mode 120000 index 4e779e1..0000000 --- a/.env.dist +++ /dev/null @@ -1 +0,0 @@ -../.env.dist \ No newline at end of file diff --git a/.env.dist b/.env.dist new file mode 100644 index 0000000..28f5848 --- /dev/null +++ b/.env.dist @@ -0,0 +1,65 @@ +resolver="1.1.1.1" + +gitlab_url="https://gitlab.com" +gitlab_api_key="xxx" +gitlab_user="xxx" + +namecheap_user="xxx" +namecheap_api_key="xxx" +namecheap_sandbox_mode="false" + +stashbox_project_id=1 +stashbox_domain="web.stashbox" +stashbox_plex_domain="plex.stashbox" + +stashbox_web_ip="fe80::dad:db" +stashbox_rpx_ip="fe80::dad:feed" +stashbox_ip4_ext="0.0.0.0" +stashbox_ip4_int="127.0.0.1" + +stashbox_stash_root="/data" +stashbox_webdoc_root="/data/documents/web/stashbox" +stashbox_webtheme_root="/data/documents/web/stashbox/theme" + +stashapp_project_id=2 + +stashapp_domain="app.stashbox" +stashapp_notes_domain="notes.stashbox" +stashapp_filestash_domain="browse.stashbox" +stashapp_archivebox_domain="clippings.stashbox" + +stashapp_ip="fe80::dad:beef" +stashapp_ip4_ext="$stashbox_ip4_ext" +stashapp_ip4_int="$stashbox_ip4_int" + +stashapp_sonic_pw="xxx" +stashapp_trilium_image="zadam/trilium" +stashapp_archivebox_image="archivebox/archivebox:master" +stashapp_filestash_image="machines/filestash" +stashapp_onlyoffice_image="onlyoffice/documentserver" +stashapp_sonic_image="valeriansaliou/sonic:v1.3.0" +stashapp_proxy_image="nginxproxy/nginx-proxy" +stashapp_acme_image="nginxproxy/acme-companion" + +export NAMECHEAP_USER_NAME="$namecheap_user" +export NAMECHEAP_API_USER="$namecheap_user" +export NAMECHEAP_API_KEY="$namecheap_api_key" +export NAMECHEAP_USE_SANDBOX="$namecheap_sandbox_mode" + +export TF_HTTP_USERNAME="$gitlab_user" +export TF_HTTP_PASSWORD="$gitlab_api_key" +export TF_HTTP_ADDRESS="$gitlab_url/api/v4/projects/$GITLAB_PROJECT_ID/terraform/state/$GITLAB_PROJECT_SLUG" +export TF_HTTP_LOCK_ADDRESS="$gitlab_url/api/v4/projects/$GITLAB_PROJECT_ID/terraform/state/$GITLAB_PROJECT_SLUG/lock" +export TF_HTTP_UNLOCK_ADDRESS="$gitlab_url/api/v4/projects/$GITLAB_PROJECT_ID/terraform/state/$GITLAB_PROJECT_SLUG/lock" +export TF_HTTP_LOCK_METHOD="POST" +export TF_HTTP_UNLOCK_METHOD="DELETE" +export TF_HTTP_RETRY_WAIT_MIN="5" + +export TF_VAR_stashbox_domain="$stashbox_domain" +export TF_VAR_stashbox_web_addr="$stashbox_web_ip" +export TF_VAR_stashbox_feed_addr="$stashbox_rpx_ip" +export TF_VAR_stashapp_addr="$stashapp_ip" +export TF_VAR_stashbox_ip4_ext="$stashapp_ip4_ext" + +export TF_VAR_stashapp_domain="$stashapp_domain" +export TF_VAR_stashapp_notes_domain="$stashapp_notes_domain"