mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-04 00:47:01 +01:00
docker: make SFTP mount reachable through traefik override
Traefik only routes HTTP, so the SFTP port needs its own host publish. Document 0.0.0.0 bind requirement for WORKSPACE_SFTP_BIND under Docker and stop the override's ports: !override [] from swallowing it.
This commit is contained in:
1 parent
25411ca115
commit
ab8712559e
3 files changed
+21
-1
No files matched your search
@@ -1,7 +1,12 @@
|
||||
# Copy to compose.override.yml on the host that runs traefik.
|
||||
services:
|
||||
workspace:
|
||||
ports: !override []
|
||||
# Traefik only routes HTTP; SFTP (raw TCP) can't go through it, so its
|
||||
# port is published straight to the host instead. Restrict to your IP,
|
||||
# or leave it 127.0.0.1 and reach it over a VPN/SSH tunnel.
|
||||
# Requires WORKSPACE_SFTP_BIND=0.0.0.0:2222 in .env to actually listen.
|
||||
ports: !override
|
||||
- "127.0.0.1:2222:2222"
|
||||
networks:
|
||||
- narl
|
||||
- internal_net
|
||||
|
||||
Reference in new issue
Block a user