Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.26 KB

README.md

File metadata and controls

56 lines (46 loc) · 2.26 KB

codepod

Self-hosted code-server instance with a few personal presets, for remote development.

preview

Features

Install

Clone the hereby repo, add/edit settings at your convenience, and build the image.

git clone https://github.com/tommywalkie/codepod.git
docker build . --tag codepod:latest

Usage

Run as a single container:

docker run -it --name "codepod" \
  -p 127.0.0.1:8080:8080 \
  -e PASSWORD="XXXX" \
  -v /var/run/docker.sock:/var/run/docker.sock \
  codepod:latest

Run with Docker Compose:

version: '3.1'

services:
  codepod:
    context: https://github.com/tommywalkie/codepod.git
    restart: unless-stopped
    privileged: true
    environment:
      PASSWORD: XXXX # Enable authentication
    ports:
      - '8080:8080'
    volumes:
      - ./my-settings:/home/coder/.local/share/code-server # You may want to mount your editor settings folder
      - /var/run/docker.sock:/var/run/docker.sock # Interact with Docker from inside the container