[READ-ONLY] Mirror of https://github.com/FoxxMD/komodo-import. Import existing compose stacks into Komodo foxxmd.github.io/komodo-import
compose docker import komodo toml
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: more extensible devcontainer

* add socket-proxy for compose development
* add mounts extended compose file for user-specific mounts without modifying devcontainer

FoxxMD (Aug 18, 2025, 7:24 PM UTC) fb2a7ae3 0a689f24

+55 -1
+6
.devcontainer/compose.mounts.yml
··· 1 + version: '3.7' 2 + services: 3 + app: 4 + #volumes: 5 + # # Add local mounts here 6 + # - /home/myUser/homelab:/filesOnServer
+41
.devcontainer/compose.yml
··· 1 + version: '3.7' 2 + services: 3 + # Update this to the name of the service you want to work with in your docker-compose.yml file 4 + app: 5 + # Uncomment if you want to override the service's Dockerfile to one in the .devcontainer 6 + # folder. Note that the path of the Dockerfile and context is relative to the *primary* 7 + # docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile" 8 + # array). The sample below assumes your primary file is in the root of your project. 9 + # 10 + # build: 11 + # context: . 12 + # dockerfile: .devcontainer/Dockerfile 13 + 14 + image: mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm 15 + 16 + volumes: 17 + # Update this to wherever you want VS Code to mount the folder of your project 18 + - ..:/workspaces:cached 19 + command: sleep infinity 20 + 21 + # Uncomment the next four lines if you will use a ptrace-based debugger like C++, Go, and Rust. 22 + # cap_add: 23 + # - SYS_PTRACE 24 + # security_opt: 25 + # - seccomp:unconfined 26 + 27 + # Overrides default command so things don't shut down after the process ends. 28 + #command: sleep infinity 29 + socket-proxy: 30 + image: lscr.io/linuxserver/socket-proxy:latest 31 + environment: 32 + - CONTAINERS=1 33 + - INFO=1 34 + - POST=0 35 + - PING=1 36 + - VERSION=1 37 + volumes: 38 + - /var/run/docker.sock:/var/run/docker.sock:ro 39 + read_only: true 40 + tmpfs: 41 + - /run
+8 -1
.devcontainer/devcontainer.json
··· 3 3 { 4 4 "name": "Node.js", 5 5 // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile 6 - "image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm", 6 + "dockerComposeFile": [ 7 + "compose.yml", 8 + "compose.mounts.yml" 9 + ], 10 + 11 + "service": "app", 12 + 13 + "workspaceFolder": "/workspaces", 7 14 8 15 // Features to add to the dev container. More info: https://containers.dev/features. 9 16 // "features": {},