commit 75e36a44153a6a4b8ab6c5d44886eaab0672e324
parent 1e92818d76b1ced06cdfecb0472b94349afd67b8
Author: Damian Myrda <damian@prime8.dev>
Date: Tue, 10 Sep 2024 08:15:01 -0500
feat(git): add port bindings
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/compose.yml b/compose.yml
@@ -64,10 +64,14 @@ services:
git:
container_name: git
image: woahbase/alpine-cgit:latest
+ ports:
+ - "22"
expose:
- "80"
volumes:
- - ./git/:/srv/git
+ - ./git/:/git/
+ - ./git/repos/:/repositories/
+ - /etc/ssh:/ssh/
networks:
- common
restart: always