Igor Zimmer
Igor Zimmer
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
But thank you so much for taking the time to explain the coder_app feature, it will be useful for another part of our project
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
For my team's setup we ended up just extending our config.json file that had some other configs to port forward what we needed, it was only 5 ports so it wasn't much of a problem to do it this way
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
I don't really know if it's a Coder specific question tbh
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
No description
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
I have one question, is there a way to force a port forward in the template? I currently need to add a port (10000) manually in my VSCode port forward
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
But now it works
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
I think it's because of my specific need (VPN, private subnets, etc)
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
Yes, I just needed to alocate an EIP manually in my main.tf template
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
/close
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
VM, on an EC2 Instance
30 replies
CCoder.com
Created by Igor Zimmer on 4/7/2025 in #help
Is there any way to persist files when restarting a coder workspace?
Still can't make it work
30 replies
CCoder.com
Created by Igor Zimmer on 3/12/2025 in #help
Installed Coder, but can't connect to code-server with VSCode
Hey, in the end I had to put it into a public subnet AND remove all that I was allowing into my SG, then it worked
11 replies
CCoder.com
Created by Igor Zimmer on 3/12/2025 in #help
Installed Coder, but can't connect to code-server with VSCode
I just saw what is causing the problem, but couldn't find a solution yet... When I created the same template I'm using, but on PUBLIC subnet, it works, I can connect to code-server and VSCode desktop. But when I created it in a PRIVATE subnet (even with 0.0.0.0/0 and all traffic inbound from my VPN security group), I suddendly couldn't connect to VSCode Desktop, I get the same Connection closed by UNKNOWN port 65535 errror from before
11 replies
CCoder.com
Created by Igor Zimmer on 3/12/2025 in #help
Installed Coder, but can't connect to code-server with VSCode
My docker-compose.yaml, for reference:
version: "3.9"
services:
coder:
image: ghcr.io/coder/coder:${var.coder_version}
ports:
- "80:7080"
environment:
CODER_PG_CONNECTION_URL: "postgresql://${var.pg_user}:${var.pg_password}@database/${var.pg_db}?sslmode=disable"
CODER_HTTP_ADDRESS: "0.0.0.0:7080"
CODER_ACCESS_URL: "http://coder.DOMAIN"
group_add:
- $GID
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- coder_home:/home/coder
depends_on:
database:
condition: service_healthy
database:
image: "postgres:16"
ports:
- "5432:5432"
environment:
POSTGRES_USER: ${var.pg_user}
POSTGRES_PASSWORD: ${var.pg_password}
POSTGRES_DB: ${var.pg_db}
volumes:
- coder_data:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${var.pg_user} -d ${var.pg_db}",
]
interval: 5s
timeout: 5s
retries: 5
volumes:
coder_data:
coder_home:
version: "3.9"
services:
coder:
image: ghcr.io/coder/coder:${var.coder_version}
ports:
- "80:7080"
environment:
CODER_PG_CONNECTION_URL: "postgresql://${var.pg_user}:${var.pg_password}@database/${var.pg_db}?sslmode=disable"
CODER_HTTP_ADDRESS: "0.0.0.0:7080"
CODER_ACCESS_URL: "http://coder.DOMAIN"
group_add:
- $GID
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- coder_home:/home/coder
depends_on:
database:
condition: service_healthy
database:
image: "postgres:16"
ports:
- "5432:5432"
environment:
POSTGRES_USER: ${var.pg_user}
POSTGRES_PASSWORD: ${var.pg_password}
POSTGRES_DB: ${var.pg_db}
volumes:
- coder_data:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${var.pg_user} -d ${var.pg_db}",
]
interval: 5s
timeout: 5s
retries: 5
volumes:
coder_data:
coder_home:
11 replies