From f95da87354036a26256410e7390248823a925e18 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Sun, 15 Dec 2024 18:52:33 +0000 Subject: [PATCH] Functional URL previews! --- servers/containers/conduwuit-testing.container | 6 +++--- servers/containers/conduwuit-url.network | 4 ++++ servers/containers/conduwuit.container | 6 +++--- servers/containers/pub.network | 9 --------- 4 files changed, 10 insertions(+), 15 deletions(-) create mode 100644 servers/containers/conduwuit-url.network delete mode 100644 servers/containers/pub.network diff --git a/servers/containers/conduwuit-testing.container b/servers/containers/conduwuit-testing.container index e57d6cb6..c001aaca 100644 --- a/servers/containers/conduwuit-testing.container +++ b/servers/containers/conduwuit-testing.container @@ -67,9 +67,9 @@ server=matrix.pissing.dev:443 \ Environment="CONDUWUIT_TURN_URIS=[\"turns:coturn.ellis.link?transport=udp\",\"turns:coturn.ellis.link?transport=tcp\",\"turn:coturn.ellis.link?transport=udp\",\"turn:coturn.ellis.link?transport=tcp\"]" Environment="CONDUWUIT_TURN_SECRET=qjRh55G51K7V0ZqB7Z8ZEkxZjBLJMgkwEs8acFjx" -# Network=pub.network:interface_name=pub -# Environment="CONDUWUIT_URL_PREVIEW_DOMAIN_EXPLICIT_ALLOWLIST=[\"*\"]" -# Environment="CONDUWUIT_URL_PREVIEW_BOUND_INTERFACE=pub" +Network=conduwuit-url.network:interface_name=pub +Environment="CONDUWUIT_URL_PREVIEW_DOMAIN_EXPLICIT_ALLOWLIST=[\"*\"]" +Environment="CONDUWUIT_URL_PREVIEW_BOUND_INTERFACE=pub" # Environment="CONDUWUIT_SENTRY=true" # Environment="CONDUWUIT_SENTRY_ENDPOINT=https://c885d1475cef5c54bbd32b1512e0ae20@o4507835405369344.ingest.de.sentry.io/4508059491696720" diff --git a/servers/containers/conduwuit-url.network b/servers/containers/conduwuit-url.network new file mode 100644 index 00000000..72d088c3 --- /dev/null +++ b/servers/containers/conduwuit-url.network @@ -0,0 +1,4 @@ +[Network] +DisableDNS=false +Internal=false +IPv6=true \ No newline at end of file diff --git a/servers/containers/conduwuit.container b/servers/containers/conduwuit.container index 4bb7c5c5..bcd8403f 100644 --- a/servers/containers/conduwuit.container +++ b/servers/containers/conduwuit.container @@ -67,9 +67,9 @@ Environment="CONDUWUIT_TURN_URIS=[\"turns:coturn.ellis.link?transport=udp\",\"tu Environment="CONDUWUIT_TURN_SECRET=qjRh55G51K7V0ZqB7Z8ZEkxZjBLJMgkwEs8acFjx" # Network=slirp4netns:interface_name=pub,allow_host_loopback=false,outbound_addr=eno1,outbound_addr6=eno1 -# Network=pub.network:interface_name=pub -# Environment="CONDUWUIT_URL_PREVIEW_DOMAIN_EXPLICIT_ALLOWLIST=[\"*\"]" -# Environment="CONDUWUIT_URL_PREVIEW_BOUND_INTERFACE=pub" +Network=conduwuit-url.network:interface_name=pub +Environment="CONDUWUIT_URL_PREVIEW_DOMAIN_EXPLICIT_ALLOWLIST=[\"*\"]" +Environment="CONDUWUIT_URL_PREVIEW_BOUND_INTERFACE=pub" Environment="CONDUWUIT_SENTRY=true" Environment="CONDUWUIT_SENTRY_ENDPOINT=https://c885d1475cef5c54bbd32b1512e0ae20@o4507835405369344.ingest.de.sentry.io/4508059491696720" diff --git a/servers/containers/pub.network b/servers/containers/pub.network deleted file mode 100644 index 8483b26f..00000000 --- a/servers/containers/pub.network +++ /dev/null @@ -1,9 +0,0 @@ -[Network] -DisableDNS=false -IPv6=true -Subnet=10.89.1.0/24 -Gateway=10.89.1.1 -Driver=ipvlan -Options=parent=eno1 -Options=mode=l3 -