From 936667ae9aa3703db8dc18578d9d510cbcdc4df8 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 15 Feb 2026 14:48:30 -0800 Subject: Configure devcontainer to use docker-compose.dev.yaml for consistent setup --- .devcontainer/devcontainer.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.devcontainer') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d7ada69..55fb912 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,10 +1,10 @@ -// Note: This config is untested in Antigravity. Use vanilla Docker for reliability { "name": "Neko (Dev)", - "build": { - "dockerfile": "Dockerfile", - "context": ".." - }, + "dockerComposeFile": [ + "../docker-compose.dev.yaml" + ], + "service": "neko-dev", + "workspaceFolder": "/workspace", "customizations": { "vscode": { "settings": { @@ -25,6 +25,7 @@ ] } }, + // Port forwarding is handled by docker-compose, but we list them here so VS Code knows about them "forwardPorts": [ 8080, 5173 @@ -41,10 +42,6 @@ }, "postCreateCommand": "go mod download && (cd frontend && npm install)", "remoteUser": "vscode", - "runArgs": [ - "--security-opt", - "label=disable" - ], "containerEnv": { "NEKO_PORT": "8080" } -- cgit v1.2.3