- Install openssh-server and create SSH infrastructure in container - Install rassumfrassum (LSP multiplexer) via Python venv - Expose SSH port 2222 and mount user public key for TRAMP access - Update compose.yml to map port 2222 and mount SSH_PUBKEY_PATH - Document SSH setup and TRAMP /ssh: access method in README
18 lines
499 B
YAML
18 lines
499 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
# WSL2/rootless: avoid netavark+nftables bridge rules by using slirp4netns
|
|
network_mode: "slirp4netns:allow_host_loopback=true"
|
|
ports:
|
|
- "4321:4321"
|
|
- "2222:22"
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
- ${SSH_PUBKEY_PATH}:/root/.ssh/authorized_keys:ro
|
|
command: /bin/sh -lc "/usr/sbin/sshd && npm run dev -- --host 0.0.0.0 --port 4321"
|
|
|
|
volumes:
|
|
node_modules:
|