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

    hackaponey

    02/20/2023, 8:37 PM
    But coder works without need a cloud(aws,gcp)? How terraform going to provide something in my bare metal?
  • s

    Sven

    02/20/2023, 8:38 PM
    idk
  • h

    hackaponey

    02/20/2023, 8:40 PM
    I saw some conversations about raspberry, there is a tutorial to get this done?
  • p

    Phorcys

    02/20/2023, 9:27 PM
    it doesn't really
  • p

    Phorcys

    02/20/2023, 9:27 PM
    there's an SSH provider for terraform but I really wouldn't recommend it and you should use Docker instead https://registry.terraform.io/providers/loafoe/ssh/latest/docs
  • p

    Phorcys

    02/20/2023, 9:27 PM
    keep in mind that if you want to run coder on X, you just have to look for "X terraform provider" on the internet
  • s

    Sven

    02/20/2023, 9:29 PM
    Wait? Does the containers of the server run on another server?!
  • p

    Phorcys

    02/20/2023, 9:29 PM
    no, it runs inside your docker (in your case)
  • p

    Phorcys

    02/20/2023, 9:30 PM
    but it can run on basically anything
  • p

    Phorcys

    02/20/2023, 9:30 PM
    that's the power of terraform
  • s

    Sven

    02/20/2023, 9:30 PM
    Wow
  • s

    Sven

    02/20/2023, 9:30 PM
    One other unrelated question
  • s

    Sven

    02/20/2023, 9:30 PM
    The code server uploads the file to /var/www/html
  • s

    Sven

    02/20/2023, 9:30 PM
    but the webserver updates after 1 a 3 hours
  • s

    Sven

    02/20/2023, 9:30 PM
    how to fix that?
  • p

    Phorcys

    02/20/2023, 9:31 PM
    what do you mean by that
  • p

    Phorcys

    02/20/2023, 9:31 PM
    because it doesn't technically "upload the files"
  • p

    Phorcys

    02/20/2023, 9:31 PM
    do you mean that you open /var/www/html inside code-server?
  • p

    Phorcys

    02/20/2023, 9:31 PM
    that shouldn't be possible
  • p

    Phorcys

    02/20/2023, 9:31 PM
    if it does that then it means there's some sort of caching or that the file hasn't changed on the disk
  • s

    Sven

    02/20/2023, 9:32 PM
    yep
  • s

    Sven

    02/20/2023, 9:32 PM
    html works instant
  • s

    Sven

    02/20/2023, 9:32 PM
    but css not
  • s

    Sven

    02/20/2023, 9:33 PM
    even with ctrl + shift + r
  • p

    Phorcys

    02/20/2023, 9:33 PM
    any errors when saving?
  • p

    Phorcys

    02/20/2023, 9:33 PM
    to me it's not a code-server issue atleast
  • s

    Sven

    02/20/2023, 9:33 PM
    nope
  • s

    Sven

    02/20/2023, 9:33 PM
    not saving issue
  • s

    Sven

    02/20/2023, 9:33 PM
    even with service apache2 restart
  • s

    Sven

    02/20/2023, 9:33 PM
    nothing
1...596061...96Latest