Docker Compose
CloudFlare Tunnel URL: https://code.risingflow.com
Internal URL: http://192.168.1.240:5443
GitHub URL: https://github.com/linuxserver/docker-code-server
Configuration:
Docker Compose:
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- TZ=Pacific/Auckland
- PUID=1001 #This is the ID of the user ali3nz
- PGID=1001 #This is the ID of the user ali3nz
- DEFAULT_WORKSPACE=/config/workspace
- DOCKER_MODS=linuxserver/mods:universal-docker
- PASSWORD=redacted
- SUDO_PASSWORD=redacted
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- /home/ali3nz:/ali3nz
- /home/ali3nz/docker/codeserver/config:/config
ports:
- 5443:8443
restart: always
deploy:
resources:
limits:
cpus: '0.5' # Limits to 50% of a single CPU