Crouton
Crouton
CCoder.com
Created by Crouton on 1/24/2024 in #help
Issue with coder_access_url
All seems to be working now. For future if someone has the same issue (and I don't know if this is needed but in my case) I needed to specify the CODER_ACCESS_URL variable in both places. In my user_data it looks something like this. #Configure env for coder sed -i 's#CODER_ACCESS_URL=#CODER_ACCESS_URL=${web_url}#' '/etc/coder.d/coder.env' sed -i 's#CODER_PG_CONNECTION_URL="postgres://coder:coder@localhost/coder?sslmode=disable"#CODER_PG_CONNECTION_URL="postgres://${db_username}:${db_password}@${rds_endpoint}/coderrds?sslmode=disable"#' "/etc/coder.d/coder.env" #Configure the env. echo export CODER_PG_CONNECTION_URL="postgres://${db_username}:${db_password}@${rds_endpoint}/coderrds?sslmode=disable" >> /etc/profile echo export CODER_ACCESS_URL="${web_url}" >> /etc/profile Another question for that someone might have the answer to. I'm got my EC2s in eu-north, when using the templates that comes with the basic installation the template region is specified to us-east. Is this something that I need to configure with coder or what's happening?
9 replies
CCoder.com
Created by Crouton on 1/24/2024 in #help
Issue with coder_access_url
No description
9 replies