mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): expose git service's 2222 through 0.0.0.0
Other ports we use are locked to 127.0.0.1. The `git` service, however, already promotes security in its sshd service and can't really be abused from an external source. This simplifies the need to forward to localhost if deploy targets want the sshd to be available. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
41e0eaaece
commit
34747359ba
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ services:
|
|||
entrypoint: /docker/git-entrypoint.sh
|
||||
command: /docker/scripts/run-sshd.sh
|
||||
ports:
|
||||
- "127.0.0.1:2222:2222"
|
||||
- "2222:2222"
|
||||
healthcheck:
|
||||
test: "bash /docker/health/sshd.sh"
|
||||
interval: 3s
|
||||
|
|
Loading…
Add table
Reference in a new issue