Remove cloud server configuration files and references and add dynmamic
dns Shit
This commit is contained in:
12
config/ansible/templates/dynamic-dns.env.j2
Normal file
12
config/ansible/templates/dynamic-dns.env.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# Dynamic DNS Environment Configuration
|
||||
# This file contains sensitive credentials and should be kept secure
|
||||
# Credentials are automatically retrieved from OnePassword
|
||||
|
||||
# CloudFlare API Token (required)
|
||||
# Retrieved from OnePassword: CloudFlare API Token
|
||||
export CLOUDFLARE_API_TOKEN="{{ lookup('community.general.onepassword', 'CloudFlare API Token', vault='Dotfiles', field='password') }}"
|
||||
|
||||
# Telegram Bot Credentials (for notifications when IP changes)
|
||||
# Retrieved from OnePassword: Telegram DynDNS Bot
|
||||
export TELEGRAM_BOT_TOKEN="{{ lookup('community.general.onepassword', 'Telegram DynDNS Bot', vault='Dotfiles', field='password') }}"
|
||||
export TELEGRAM_CHAT_ID="{{ lookup('community.general.onepassword', 'Telegram DynDNS Bot', vault='Dotfiles', field='chat_id') }}"
|
@@ -5,7 +5,7 @@ Before=docker.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/juicefs mount redis://:{{ redis_password }}@100.82.178.14:6379/0 /mnt/object_storage \
|
||||
ExecStart=/usr/local/bin/juicefs mount redis://:{{ redis_password }}@mennos-cachyos-desktop:6379/0 /mnt/object_storage \
|
||||
--cache-dir=/var/jfsCache \
|
||||
--buffer-size=4096 \
|
||||
--prefetch=16 \
|
||||
|
Reference in New Issue
Block a user