mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): allow configurable SSH_CMDLINE in git service
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ba3ef742ce
commit
a1e547c057
3 changed files with 7 additions and 2 deletions
|
@ -16,6 +16,10 @@ services:
|
|||
|
||||
git:
|
||||
restart: always
|
||||
environment:
|
||||
- AUR_CONFIG=/aurweb/conf/config
|
||||
# SSH_CMDLINE should be updated to production's ssh cmdline.
|
||||
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
|
||||
volumes:
|
||||
- ${GIT_DATA_DIR}:/aurweb/aur.git
|
||||
- ./data:/aurweb/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue