Development environment container
-
./config- all configs -
./config/.ssh- SSH files..pubfiles - public ssh-key files
-
./workspace- work directory
Update docker-compose environment
- TZ=Europe/Berlin
- PASSWORD=12345
- GIT_USER_NAME=Your Name
- GIT_USER_EMAIL=test@test.test
- SSH_KEYS=github_prj1_20250414,bitbucket_prj2_20250414-
update docker-compose
-
build "code-server-dev" container
docker-compose up --build -d
-
run container
docker start code-server-dev
-
configuring a Proxy for a WSL Server Port for Windows
172.31.180.187- ip addr WSL Server7777- port
netsh interface portproxy add v4tov4 listenport=7777 listenaddress=0.0.0.0 connectport=7777 connectaddress=172.31.180.187
-
open link - https://localhost:9000
-
clone a GIT repo using SSH key
-
github.com
GIT_SSH_COMMAND="ssh -i /config/.ssh/github_prj1_20250414" \ git clone <git@github.com>:youruser/myportfolio.git
-
bitbucket.com
GIT_SSH_COMMAND="ssh -i /config/.ssh/bitbucket_prj2_20250414" \ git clone <git@bitbucket.org>:youruser thebestprj.git
-