I tried installing code-server but it wouldn’t start, because port 8443 is in use by the unifi-controller container. So I changed the code-server container port to 8444. Like this.
#!/bin/bash
docker pull ghcr.io/linuxserver/code-server
docker run -d \
--restart=always \
--name code-server \
-h sonarr \
-e PUID=1001 \
-e PGID=1001 \
-e TZ=Europe/Nicosia \
--net=network \
-p 8444:8444 \
-v code-server:/config \
ghcr.io/linuxserver/code-server
But the log file shows me that the code-server container is still using port 8443.
How can I fix the code-server continer so it uses port 8444. Or if it can’t be changed, is there a workaround to be able to use both the code-server and the unifi-controller containers?
Thanks