add devcontainer

This commit is contained in:
daniel fusser
2026-08-22 10:47:11 +02:00
committed by dafu
parent ad68cb0b01
commit c1b63c38f4
3 changed files with 140 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
services:
dev:
build:
context: .
dockerfile: Dockerfile
args:
USERNAME: dafu
GITHUB_USER: dafu
REPO_URL: https://git.dafu.dev/dafu/dot.config.git
DOCKER_GID: "104"
container_name: dev-container
hostname: dev-container
ports:
- "2222:22"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- home-data:/home/dafu
restart: unless-stopped
volumes:
home-data: