From 79293112331036168cc4031bfe7c961af30d0498 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Sun, 21 Apr 2024 10:15:27 -0400 Subject: [PATCH] listen on both ipv4 and ipv6 --- README.md | 1 + readme-vars.yml | 1 + root/etc/s6-overlay/s6-rc.d/svc-code-server/run | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47010ed..0bdaca7 100644 --- a/README.md +++ b/README.md @@ -306,6 +306,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **21.04.23:** - Let server listen on both ipv4 and ipv6. * **01.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf) * **05.10.22:** - Install recommended deps to maintain parity with the older images. * **29.09.22:** - Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents. diff --git a/readme-vars.yml b/readme-vars.yml index e5a145f..5b23483 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -54,6 +54,7 @@ app_setup_block: | How to create the [hashed password](https://github.com/cdr/code-server/blob/master/docs/FAQ.md#can-i-store-my-password-hashed). # changelog changelogs: + - {date: "21.04.23:", desc: "Let server listen on both ipv4 and ipv6."} - {date: "01.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"} - {date: "05.10.22:", desc: "Install recommended deps to maintain parity with the older images."} - {date: "29.09.22:", desc: "Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents."} diff --git a/root/etc/s6-overlay/s6-rc.d/svc-code-server/run b/root/etc/s6-overlay/s6-rc.d/svc-code-server/run index 373dc0a..7ca17d8 100755 --- a/root/etc/s6-overlay/s6-rc.d/svc-code-server/run +++ b/root/etc/s6-overlay/s6-rc.d/svc-code-server/run @@ -17,7 +17,7 @@ exec \ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 8443" \ s6-setuidgid abc \ /app/code-server/bin/code-server \ - --bind-addr 0.0.0.0:8443 \ + --bind-addr "[::]:8443" \ --user-data-dir /config/data \ --extensions-dir /config/extensions \ --disable-telemetry \