feners4
feners4
Explore posts from servers
CCoder.com
Created by feners4 on 7/19/2024 in #help
Coder docker container DB is randomly failing
Hey @Phorcys , haven't found what's causing this. I opened an issue
11 replies
CCoder.com
Created by feners4 on 7/19/2024 in #help
Coder docker container DB is randomly failing
No description
11 replies
CCoder.com
Created by feners4 on 7/19/2024 in #help
Coder docker container DB is randomly failing
It looks like there’s another DB being created. This issue keeps corrupting my DB. Any ideas?
11 replies
CCoder.com
Created by Dilim on 7/9/2024 in #help
workspace for developing react
Have you tried installing NPM/Node in your container and running the dev server? After you get the server running, you might be able to access the port through the Coder port forwarding in the container dashboard.
7 replies
CCoder.com
Created by feners4 on 7/6/2024 in #help
Updated Coder version and now I’m getting database errors with Docker Compose
Ah, sorry thought that removing the container volume would force the DB to initiate again with new creds. I was able to fix the issue running docker-compose exec database psql -U $POSTGRES_USER -d $POSTGRES_DB -c "ALTER USER $POSTGRES_USER WITH PASSWORD 'new_password';"
13 replies
CCoder.com
Created by feners4 on 7/6/2024 in #help
Updated Coder version and now I’m getting database errors with Docker Compose
@Phorcys Hey, so I tried this and still seeing the error. I even deleted the container volume with docker volume rm coder_coder_data. To clarify, I set the env variables to new values for POSTGRES_USER and POSTGRES_PASSWORD and ran the container again. Are you saying I should change the variable names too?
13 replies
CCoder.com
Created by Dilim on 7/9/2024 in #help
workspace for developing react
Not seeing your workspace code, but I have gotten a Node dev server to run in my workspace using vscode-web and accessing the port through the Coder workspace dashboard. I run it through the terminal of the workspace container, so I believe it should work with any type of workspace container. Where are you running the dev server?
7 replies
CCoder.com
Created by feners4 on 7/6/2024 in #help
Updated Coder version and now I’m getting database errors with Docker Compose
@Atif Here’s my docker compose. I’ve been trying to figure out how to solve an issue with getting vscode-web running with a wildcard url. It was working for me and stopped working so I have been changing the wildcard urls in the docker compose file. Besides that, I have not changed anything else.
version: "3.9" services: tailscale: image: tailscale/tailscale:latest hostname: tailscale ports: - "TAILSCALE_IP:7080:7080" - "TAILSCALE_IP:13338:13338" environment: - TS_AUTHKEY=tskey-auth-keygoeshere - TS_STATE_DIR=/var/lib/tailscale - TS_USERSPACE=false volumes: - ${PWD}/tailscale-nginx/state:/var/lib/tailscale - /dev/net/tun:/dev/net/tun cap_add: - net_admin - sys_module restart: unless-stopped coder: # This MUST be stable for our documentation and # other automations. image: ghcr.io/coder/coder:${CODER_VERSION:-latest} #ports: #- "TAILSCALE_IP:7080" environment: CODER_PG_CONNECTION_URL: "postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@database/${POSTGRES_DB:-coder}?sslmode=disable" CODER_HTTP_ADDRESS: "0.0.0.0:7080" # You'll need to set CODER_ACCESS_URL to an IP or domain # that workspaces can reach. This cannot be localhost # or 127.0.0.1 for non-Docker templates! CODER_ACCESS_URL: "${CODER_ACCESS_URL}" CODER_WILDCARD_ACCESS_URL: "*.coder.myserver.com" # If the coder user does not have write permissions on # the docker socket, you can uncomment the following # lines and set the group ID to one that has write # permissions on the docker socket. group_add: - "999" # docker group on host volumes: - /var/run/docker.sock:/var/run/docker.sock depends_on: database: condition: service_healthy
13 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
No description
16 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
@Trung™ If it helps, all I did was change the coder-server version in the main.tf file:
16 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
Ah! I see
16 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
No description
16 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
No description
16 replies
CCoder.com
Created by Trung™ on 6/1/2024 in #help
Update code-server in Coder V2
I’m trying to figure out the same thing. How can I update the code-server version running in a Docker container from the templates given by Coder? Do I have to build a custom one?
16 replies