Skip to content

re-f/workspaces

Repository files navigation

About

The development environment setting include following capacity:

  1. zsh
  2. clash(trojan client)
  3. Dropbox
  4. go
  5. emacs

Usage

  1. Place all your configurations in `~/.config` (this should be a private repository). The directory structure should look like the following:
~/.config
    |- ssh
    |- v2ray
        |- config.json
    |- zsh
        |- .zshrc
    |- dropbox
    |- ...
  1. start up

    docker-compose up --build -d

  2. If you want to use a VPN on your host, configure the following environment variables:

    export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7891

Attention

  1. Please use the XDG Base Directory Specification to organize your configuration files in the ~/.config directory.
  2. VPN inbound ends point must listen on “0.0.0.0”, Otherwise other container can’t use this proxy
  3. how to config Dropbox
    • config proxy: docker exec -it ref.dropbox gosu dropbox dropbox proxy manual socks5 172.20.128.12 8888
    • exclude directory: docker exec -it ref.dropbox gosu dropbox dropbox exclude add /opt/dropbox/Dropbox/${your_exclude_dir}/

Attention2: the Fxxk GFW

If you encounter the “TLS handshake timeout” error while downloading Go development tools inside a container, please manually execute the # download go devel tools section in Dockerfile.workspace/init.sh outside the host. Refer to goproxy/goproxy.cn#26 for more information.

About

build develop environment by using docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published