Files
homelab/.devcontainer/docker-compose.yml
T
2023-10-24 16:00:28 -04:00

19 lines
418 B
YAML

version: '3'
services:
app:
network_mode: host
build:
context: .
dockerfile: Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker-host.sock
- ../..:/workspaces:cached
- "~/.ssh:/home/vscode/.ssh"
- "~/.gitconfig:/home/vscode/.gitconfig"
entrypoint: /usr/local/share/docker-init.sh
command: sleep infinity
environment:
- KUBE_EDITOR="code -w"