thehedgefrog
09/15/2022, 3:49 PMDean
09/15/2022, 4:48 PMPixNyb
09/15/2022, 5:56 PMtimoooooo
09/15/2022, 8:41 PMthehedgefrog
09/15/2022, 9:07 PMresource "coder_agent" "main" {
env = {
GIT_AUTHOR_NAME = "${data.coder_workspace.me.owner}"
GIT_COMMITTER_NAME = "${data.coder_workspace.me.owner}"
GIT_AUTHOR_EMAIL = "${data.coder_workspace.me.owner_email}"
GIT_COMMITTER_EMAIL = "${data.coder_workspace.me.owner_email}"
}
arch = data.coder_provisioner.me.arch
os = "linux"
startup_script = <<EOF
#!/bin/sh
%{ if var.dotfiles_uri != "" }coder dotfiles -y ${var.dotfiles_uri}%{ endif }
curl -fsSL https://code-server.dev/install.sh | sh
code-server --auth none --port 13337
EOF
}
resource "coder_app" "code-server" {
agent_id = coder_agent.main.id
name = "VSCode"
icon = "/icon/code.svg"
url = "http://0.0.0.0:13337/?folder=/home/coder"
}
dorkbydesign
09/16/2022, 12:25 PMPhorcys
09/16/2022, 1:05 PMPhorcys
09/16/2022, 1:05 PMthehedgefrog
09/16/2022, 7:22 PMstartup_script
run every time the workspace is started?WhyAydan
09/16/2022, 8:31 PMcoder templates init
on dockerEinstein
09/17/2022, 4:06 PMPhorcys
09/17/2022, 4:41 PMPhorcys
09/17/2022, 4:41 PMEinstein
09/17/2022, 5:36 PMloc
09/19/2022, 1:20 AMnatewalck
09/19/2022, 4:12 PMtimoooooo
09/26/2022, 9:27 PMthehedgefrog
09/27/2022, 3:17 PMcommand: chmod 666 /var/run/docker.sock
in my docker-compose to avoid permission denied errors. It no longer works on the latest version, I have to exec into the container to run the command, which is less than convenient. Any obvious reason why?Phorcys
09/28/2022, 2:43 PMPhorcys
09/28/2022, 2:44 PMPhorcys
09/28/2022, 2:45 PMFreeman
09/29/2022, 6:23 AMFreeman
09/29/2022, 6:23 AMPhorcys
09/29/2022, 9:25 AMkyle
09/30/2022, 2:39 PMPhorcys
10/02/2022, 2:47 PMPhorcys
10/02/2022, 2:47 PMPhorcys
10/02/2022, 2:49 PMkyle
10/02/2022, 4:00 PMcoder_workspace
metadata. What are you thinking?Phorcys
10/02/2022, 4:02 PM