File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -654,4 +654,29 @@ prefix() {
654
654
" $@ " > " $fifo " 2>&1
655
655
}
656
656
657
+ coder server --access-url https://michael.coder.com
658
+ coder update dotfile --always-prompt
659
+ CODER_PROMETHEUS_ADDRESS=0.0.0.0:2112
660
+ CODER_PROMETHEUS_ENABLE
661
+ CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS=true
662
+ CODER_GITAUTH_0_ID=" primary-github"
663
+ data " coder_git_auth" " github" {
664
+ # Matches the ID of the git auth provider in Coder.
665
+ id = " github"
666
+ }
667
+
668
+ resource " coder_agent" " dev" {
669
+ os = " linux"
670
+ arch = " amd64"
671
+ dir = " ~/coder"
672
+ env = {
673
+ GITHUB_TOKEN : data.coder_git_auth.github.access_token
674
+ }
675
+ startup_script = << EOF
676
+ if [ ! -d ~/coder ]; then
677
+ git clone https://github.com/coder/coder
678
+ fi
679
+ EOF
680
+ }
681
+
657
682
main " $@ "
You can’t perform that action at this time.
0 commit comments