github.com/schmorrison/Zoho@v1.1.4/.devcontainer/docker-compose.yml (about)

     1  version: "3.7"
     2  
     3  services:
     4    vscode:
     5      build: .
     6      volumes:
     7        - ../:/workspace
     8        # Docker
     9        - ~/.docker:/root/.docker:z
    10        # Docker socket to access Docker server
    11        - /var/run/docker.sock:/var/run/docker.sock
    12        # SSH directory for Linux, OSX and WSL
    13        - ~/.ssh:/root/.ssh:z
    14        # For Windows without WSL, a copy will be made
    15        # from /tmp/.ssh to ~/.ssh to fix permissions
    16        # - ~/.ssh:/tmp/.ssh:ro
    17        # Shell history persistence
    18        - ~/.zsh_history:/root/.zsh_history:z
    19        # Git config
    20        - ~/.gitconfig:/root/.gitconfig:z
    21        # Kubernetes
    22        - ~/.kube:/root/.kube:z
    23      environment:
    24        - TZ=America/Regina
    25      cap_add:
    26        # For debugging with dlv
    27        - SYS_PTRACE
    28      security_opt:
    29        # For debugging with dlv
    30        - seccomp:unconfined
    31      entrypoint: [ "zsh", "-c", "while sleep 1000; do :; done" ]