From 98781deae153538233c961589ccb66363c0e5fde Mon Sep 17 00:00:00 2001 From: Ari Date: Sun, 2 Apr 2023 14:59:08 -0400 Subject: [PATCH] fix up docker compose --- .devcontainer/docker-compose.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 9c689c9..63095e7 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -8,24 +8,14 @@ services: dockerfile: Dockerfile volumes: - # Forwards the local Docker socket to the container. - /var/run/docker.sock:/var/run/docker-host.sock - # Update this to wherever you want VS Code to mount the folder of your project - ../..:/workspaces:cached + - "~/.ssh:/home/vscode/.ssh" + - "~/.gitconfig:/home/vscode/.gitconfig" - # Overrides default command so things don't shut down after the process ends. entrypoint: /usr/local/share/docker-init.sh command: sleep infinity environment: - KUBE_EDITOR="code -w" - # Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust. - # cap_add: - # - SYS_PTRACE - # security_opt: - # - seccomp:unconfined - - # Use "forwardPorts" in **devcontainer.json** to forward an app port locally. - # (Adding the "ports" property to this file will not forward from a Codespace.) - # serverlb: # image: docker.io/rancher/k3s:v1.25.6-k3s1