cush/code-server

By cush

Updated about 5 years ago

VS Code with Terraform & AWSCLI installed

Image
0

658

cush/code-server repository overview

Code Server+

cool badge icon Docker Pulls

code-server-docker is browser accessible VS Code compiled by cdr with some addidtional tools. This project executes shell scripts that installs the latest versions of Terraform and AWSCLI on top of the code-server base image.

Docker Run

should operate as the following:

docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" cush/code-server
Docker-Compose

A docker compose example for the base image can be found here. Below is a version similar to my own which shows how one would run this container in the context of using a reverse proxy and facing the internet.

---
version: "2"
services:
  vscode:
    image: cush/code-server:latest
    container_name: vscode
    restart: unless-stopped
    networks:
      - dockernet
    environment:
      - PUID=1000
      - GUID=1000
      - PASSWORD=${PASSWORD}
    volumes:
      - /mnt/configmount/vscode:/home
      - /home/vagrant/.ssh/:/home/coder/.ssh/ #avoid potential ssh key permission issues if using Windows storage and remote git repositories
    labels:
      - "traefik.enable=true"
      - "traefik.backend=vscode"
      - "traefik.frontend.rule=Host:code.cushenberry.com"
      - "traefik.port=8080"
      - "traefik.docker.network=dockernet"

Tag summary

Content type

Image

Digest

Size

581.6 MB

Last updated

about 5 years ago

docker pull cush/code-server