diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:48:30 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:48:30 -0800 |
| commit | 936667ae9aa3703db8dc18578d9d510cbcdc4df8 (patch) | |
| tree | ed70de40c5e91fb838fe25c76767fa693ff4db96 /.devcontainer/devcontainer.json | |
| parent | 3a769ccece9319abac29a002aabed6578b9f4e76 (diff) | |
| download | neko-936667ae9aa3703db8dc18578d9d510cbcdc4df8.tar.gz neko-936667ae9aa3703db8dc18578d9d510cbcdc4df8.tar.bz2 neko-936667ae9aa3703db8dc18578d9d510cbcdc4df8.zip | |
Configure devcontainer to use docker-compose.dev.yaml for consistent setup
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 15 |
1 files changed, 6 insertions, 9 deletions
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" } |
