https://linen.dev logo
Join Discord
Powered by
# general
  • j

    JanL

    05/03/2023, 12:33 PM
    coder ping reports that its always proxied
  • Just curious does anyone here offer
    d

    davidpp

    05/03/2023, 3:41 PM
    Just curious, does anyone here offer consulting around Coder initial setup?
    k
    a
    • 3
    • 7
  • b

    BigCheeZ

    05/04/2023, 2:23 PM
    Do you know of any examples of using WebDAV with Coder?
  • p

    Phorcys

    05/04/2023, 2:27 PM
    what do you mean ? I was recommending WebDAV as a separate solution for file sharing. Is your idea to set up a WebDAV server inside your coder workspace ?
  • b

    BigCheeZ

    05/04/2023, 2:31 PM
    Yes, we create build artifacts inside of Coder. But these build artifacts need to run on actual HW at our desk. The optimal way to do his to avoid latency is to use a debug program locally and use the build artifacts from the container. We could copy the build artifacts using SCP every time, but that is an extra step that devs will forget. If we could mount a container locally, that would be ideal. I've done this using sshfs, but unfortunately, most of our laptops are running windows and I've not been able to get sshfs-win to work. Even if that did work, some people's PCs may be locked down from installing other SW. I think samba and webdav would work on stock Windows.
  • p

    Phorcys

    05/04/2023, 3:08 PM
    hmm, webdav would sure work but it wouldn't have the right auth because coder gates your webapps
  • p

    Phorcys

    05/04/2023, 3:12 PM
    maybe a new feature to mount container storage could be nice, i'm thinking (talking about windows) you could mount to a folder using VFS or to a virtual drive using Dokan library bundl (cc: @kyle)
  • g

    Goose

    05/04/2023, 5:33 PM
    Found a useful ChatGPT prompt I thought I'd share here since I'm workin on a Coder template right now.
    Modify this shell script to be idempotent
    Useful for the startup_script in my tf file
  • o

    Orange

    05/04/2023, 8:10 PM
    what does it do?
  • g

    Goose

    05/04/2023, 8:11 PM
    Since the startup script runs every time you update your workspace, it shouldn't fail if some condition is already true. Idempotent means the script yields the result every time it runs
  • o

    Orange

    05/04/2023, 8:12 PM
    offtopic: do you know any chinese search engine? that searches for chinese sites in results?
  • p

    Phorcys

    05/04/2023, 8:24 PM
    baidu
  • o

    Orange

    05/04/2023, 8:46 PM
    thanks
  • a

    aquila

    05/05/2023, 8:15 AM
    what was actually the reasoning behind opening the apps in a new window instead of a new tab?
  • c

    cumpsd

    05/05/2023, 10:52 AM
    does anyone have coder running behind a reverse proxy as a subpath by chance? e.g.
    https://yourcompany.com/coder/
  • k

    KozmikNano

    05/05/2023, 11:07 AM
    I would presume to make it more like if you were using the apps on your computer.
  • p

    Phorcys

    05/05/2023, 11:42 AM
    no, but you shouldn't really be doing that, applications don't like it much and I don't know if coder was built with that in mind
  • c

    cumpsd

    05/05/2023, 11:43 AM
    at first site, it doesn't look like it: https://discord.com/channels/747933592273027093/1103994904872505456 but it's not uncommon to have, a lot of applications do support it, by the simply virtue of properly using relative urls and everything keeps on working
  • p

    Phorcys

    05/05/2023, 11:49 AM
    it's prone to breakage if the application expects to be served on ``/``, I think you should try it to see if it works. Another question though, i'm curious, is there any reason to not use a subdomain instead ?
  • p

    Phorcys

    05/05/2023, 11:49 AM
    I think there's also issues with web security because an app can access another app's cookies or something like that -- but don't quote me on that
  • c

    cumpsd

    05/05/2023, 11:50 AM
    wrt cookies: that's true
  • c

    cumpsd

    05/05/2023, 11:50 AM
    calculated risks I guess 🙂
  • c

    cumpsd

    05/05/2023, 11:50 AM
    this is just to enable a vs code in a browser to edit files
  • p

    Phorcys

    05/05/2023, 11:51 AM
    yeah -- i think i might be missing the point of using a subpath rather than a subdomain
  • a

    aquila

    05/05/2023, 11:52 AM
    wdym by the second point?
  • p

    Phorcys

    05/05/2023, 11:52 AM
    what second point ?
  • p

    Phorcys

    05/05/2023, 11:52 AM
    oh sorry, wrong reply
  • c

    cumpsd

    05/05/2023, 11:53 AM
    no specific reason, something that got carried over from the past 🙂 it's 1 domain with a lot of subpaths (all working :p)
  • p

    Phorcys

    05/05/2023, 11:53 AM
    i think it's for the reason that kozmiknano stated, but I have requested for it to open in tabs in #991429648200245358 in the past
  • c

    cumpsd

    05/05/2023, 11:53 AM
    pihole, home assistant, mqtt, argo-cd, grafana, prometheus, influxdb, traefik and now I wanted to add /coder 🙂
1...919293...96Latest