Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔧(dev) configure bureautix proxy for image builds

briquet1affe65b4a7a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84d0ab44..0ff02919 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ and this project adheres to
### Added
- ✨(backend) make the LiveKit default video codec configurable
+- 🔧(dev) add support for Bureautix workstations
### Changed
diff --git a/devenv.nix b/devenv.nix
index e87f2bdc..5addcb19 100644
--- a/devenv.nix
+++ b/devenv.nix
@@ -243,7 +243,9 @@ in
# Apply Bureautix override
- _compose_files="$_compose_files:$_compose_dir/compose.bureautix.yml"
+ if [ -n "''${http_proxy:-}" ]; then
+ _compose_files="$_compose_files:$_compose_dir/compose.bureautix.yml"
+ fi
export COMPOSE_FILE="$_compose_files"
unset _compose_dir _compose_files
diff --git a/docker/compose.d/compose.bureautix.yml b/docker/compose.d/compose.bureautix.yml
index 34cee6f6..fc1c823e 100644
--- a/docker/compose.d/compose.bureautix.yml
+++ b/docker/compose.d/compose.bureautix.yml
@@ -1,7 +1,48 @@
-# Override for Bureautix workstations, where the local proxy listens on
-# 8080 and collides with Keycloak's published admin port.
+# Bureautix proxy overrides
+#
+# Builds submitted through the Docker API of the Podman service get none of
+# the proxy variables in their RUN steps. We need to pass the http_proxy explicitely
+# otherwise all connections fail during the build.
+
+x-proxy-vars: &proxy-vars
+ http_proxy: ${http_proxy:-}
+ https_proxy: ${https_proxy:-}
+ no_proxy: ${no_proxy:-}
services:
+ app:
+ build:
+ args:
+ <<: *proxy-vars
+ app-dev:
+ build:
+ args:
+ <<: *proxy-vars
+ frontend:
+ build:
+ args:
+ <<: *proxy-vars
+ metadata-collector-dev:
+ build:
+ args:
+ <<: *proxy-vars
+ multi-user-transcriber-dev:
+ build:
+ args:
+ <<: *proxy-vars
+ app-summary-dev:
+ build:
+ args:
+ <<: *proxy-vars
+ celery-summary-transcribe:
+ build:
+ args:
+ <<: *proxy-vars
+ celery-summary-summarize:
+ build:
+ args:
+ <<: *proxy-vars
+ # The local proxy listens on 8080 and collides with Keycloak's published admin port.
keycloak:
ports: !override
- "8081:8080"
diff --git a/src/agents/Dockerfile b/src/agents/Dockerfile
index 12327b96..5984739a 100644
--- a/src/agents/Dockerfile
+++ b/src/agents/Dockerfile
@@ -1,7 +1,8 @@
FROM python:3.14.6-slim AS base
-# Install system dependencies required by LiveKit
-RUN apt-get update && apt-get install -y \
+# Install system dependencies required by LiveKit, fetching packages over HTTPS only for Bureautix proxy
+RUN sed -i "s|^URIs: http://|URIs: https://|" /etc/apt/sources.list.d/debian.sources \
+ && apt-get update && apt-get install -y --no-install-recommends \
libglib2.0-0 \
libgobject-2.0-0 \
&& rm -rf /var/lib/apt/lists/*