Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

Small sample Docker compose doc updates

Juan José Mata374c3d1d2928
diff --git a/compose.example.ai.yml b/compose.example.ai.yml
index 0ffc93a8b0..bac60163e2 100644
--- a/compose.example.ai.yml
+++ b/compose.example.ai.yml
@@ -43,9 +43,24 @@
# Troubleshooting:
# ----------------
#
-# If you run into problems, you should open a Discussion here:
+# Problems? Swing by our Discord or open a Discussion here:
#
-# https://github.com/we-promise/sure/discussions/categories/ai-usage
+# https://github.com/we-promise/sure/discussions/categories/general
+#
+# IPv6 Note (Yahoo Finance Sync, others?):
+# ----------------------------------------
+# If you encounter "Failed to open TCP connection" errors to hosts like
+# fc.yahoo.com in your environment, the issue may be that DNS resolves
+# to an IPv6 address first. Since IPv6 may not be configured in the container,
+# the connection hangs. To work around this, you can hardcode the IPv4
+# addresses in your container's /etc/hosts or set custom DNS:
+#
+# extra_hosts:
+# - "fc.yahoo.com:173.223.12.81"
+# - "query1.finance.yahoo.com:98.136.48.169"
+# - "query2.finance.yahoo.com:98.136.48.169"
+#
+# Or use explicit DNS servers that prefer IPv4 (already configured below).
#
x-db-env: &db_env
diff --git a/compose.example.yml b/compose.example.yml
index ea45dc858f..b78ff45164 100644
--- a/compose.example.yml
+++ b/compose.example.yml
@@ -22,7 +22,7 @@
# Troubleshooting:
# ----------------
#
-# If you run into problems, you should open a Discussion here:
+# Problems? Swing by our Discord or open a Discussion here:
#
# https://github.com/we-promise/sure/discussions/categories/general
#