From 59b4343ec29c3af98668acc68c57c6ceeb744ad3 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 30 Oct 2026 20:26:12 -0700 Subject: [PATCH] open-terminal, more attemots to get the container access to the Internet (DNS). --- tasks/workstation/linux/software/ai/llm.yml | 17 ----------- tasks/workstation/linux/software/docker.yml | 33 ++++++++++----------- 2 files changed, 16 insertions(+), 34 deletions(-) diff --git a/tasks/workstation/linux/software/ai/llm.yml b/tasks/workstation/linux/software/ai/llm.yml index d5a2f03..9b9ec5e 100644 --- a/tasks/workstation/linux/software/ai/llm.yml +++ b/tasks/workstation/linux/software/ai/llm.yml @@ -694,24 +694,7 @@ ports: - {{ open_terminal_port }}:{{ open_terminal_port }} networks: - - bridge - {{ llm_docker_network }} - dns: - ## Mullvad - ## (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls) - #- 194.242.2.9 # all.dns.mullvad.net - ##- 194.242.2.8 # not real (yet?) - ##- 194.242.2.7 # not real (yet?) - #- 194.242.2.6 # family.dns.mullvad.net - #- 194.242.2.5 # extended.dns.mullvad.net - #- 194.242.2.4 # base.dns.mullvad.net - #- 194.242.2.3 # adblock.dns.mullvad.net - - 194.242.2.2 # dns.mullvad.net - #- 194.242.2.1 # not real (yet?) - #- 194.242.2.0 # not real (yet?) - ## Cloudflare - - 1.0.0.1 - - 1.1.1.1 command: run --port {{ open_terminal_port }} environment: - OPEN_TERMINAL_FILE_BROWSER_ROOT=/home/user diff --git a/tasks/workstation/linux/software/docker.yml b/tasks/workstation/linux/software/docker.yml index 5c99327..8b0cd4e 100644 --- a/tasks/workstation/linux/software/docker.yml +++ b/tasks/workstation/linux/software/docker.yml @@ -33,22 +33,21 @@ owner: root mode: '0755' -# This was causing the docker daemon to fail. Was trying to fix ports mappings. -#- name: Workstation | Linux | Software | Docker | Config | File -# ansible.builtin.copy: -# dest: /etc/docker/daemon.json -# content: | -# { -# "firewall-backend": "nftables" -# } -# backup: false -# owner: root -# mode: '0644' -# when: ansible_pkg_mgr == "pacman" - - name: Workstation | Linux | Software | Docker | Config | File - ansible.builtin.file: - name: /etc/docker/daemon.json - state: absent + ansible.builtin.copy: + dest: /etc/docker/daemon.json + content: | + { + "dns": ["194.242.2.2", "1.0.0.1", "1.1.1.1" ] + } + backup: false owner: root - mode: '0755' + mode: '0644' + when: ansible_pkg_mgr == "pacman" + +#- name: Workstation | Linux | Software | Docker | Config | File +# ansible.builtin.file: +# name: /etc/docker/daemon.json +# state: absent +# owner: root +# mode: '0755'