kerxkerby
kerxkerby
CCoder.com
Created by kerxkerby on 5/3/2024 in #help
Migrating Coder-OSS data to a new server
Is it possible to transfer data from an old Coder-OSS server containing live workspaces to a new one without having to manually dump the database from the old server, copy the /var/lib/docker and sync them through rsync? This process is usually very slow and inconvenient, and it is further complicated by the fact that my old server is running on Hyper-V while the new server is running TrueNAS, which are incompatible with each other.
5 replies
CCoder.com
Created by kerxkerby on 5/2/2024 in #help
Recovering from disaster
No description
15 replies
CCoder.com
Created by kerxkerby on 4/3/2024 in #help
Access module through VPN IP instead of Tunnel
I installed the JetBrains Gateway module like this:
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"
version = "1.0.9"
agent_id = coder_agent.main.id # Reference the coder_agent ID you've configured
agent_name = "main" # Name to reflect your coder_agent resource
folder = "/home/${local.username}" # Use the dynamic username from your locals
jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
default = "GO"
}
module "jetbrains_gateway" {
source = "registry.coder.com/modules/jetbrains-gateway/coder"
version = "1.0.9"
agent_id = coder_agent.main.id # Reference the coder_agent ID you've configured
agent_name = "main" # Name to reflect your coder_agent resource
folder = "/home/${local.username}" # Use the dynamic username from your locals
jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
default = "GO"
}
After installation, I got a menu in the dashboard for the Gateway. However, I'm looking for a way to change the URL from the tunnel URL to the IP address of our VPN (we use ZeroTier), which looks like 192.168.x.x.
jetbrains-gateway://connect#type=coder&workspace=oss&agent=main&folder=/home&url=https://<ID>.pit-1.try.coder.app&token=$SESSION_TOKEN&ide_product_code=IU&ide_build_number=233.14808.21&ide_download_link=https://download.jetbrains.com/idea/ideaIU-2023.3.5.tar.gz
jetbrains-gateway://connect#type=coder&workspace=oss&agent=main&folder=/home&url=https://<ID>.pit-1.try.coder.app&token=$SESSION_TOKEN&ide_product_code=IU&ide_build_number=233.14808.21&ide_download_link=https://download.jetbrains.com/idea/ideaIU-2023.3.5.tar.gz
8 replies
CCoder.com
Created by kerxkerby on 3/9/2024 in #help
Accessing Self-Hosted Coder Server Through ZeroTier VPN
I have set up a self-hosted Coder server on our internal workstation server machines. Currently, we can access the workspaces through the tunnel https://<GUID>.pit-1.try.coder.app/. However, I would also like to access the Coder server through our ZeroTier VPN. ZeroTier is an encrypted, layer-2-stretch multipoint VPN with integrated firewalling capability. I believe it should be possible to access our self-hosted Coder server using the IP address provided by our ZeroTier network. However, after reading the Coder documentation (https://coder.com/docs/v2/latest/admin/configure), I'm unable to find the necessary information to configure this setup. Has anyone successfully set up a self-hosted Coder server to be accessible through a VPN? If so, could you please provide guidance on how to achieve this configuration? Thank you in advance for your help!
9 replies