summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-27 11:57:39 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-10-27 11:57:39 +0100
commitb3a41ec1466774a10b1ef4d1b44c2234ec98c969 (patch)
tree7ae46684a1400d517c66192f278ecf302890294f /docker-compose.yml
parent3b2c666b72d852c61e48b3a999ca4535298fc8a3 (diff)
Added handling of gid for git user also
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 53b9bd6..67638bd 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -9,7 +9,8 @@ services:
restart: no
environment:
# Note: Variable names cannot have - inside but the values can!
- - GIT_UID=1000 # uid of the user that has access to all repos
+ - GIT_UID=1000 # uid/gid of the user that has access to all repos
+ - GIT_GID=1000
# Users in form of USER_<some chars>=<username>:<ssh-key>
- USER_user1=user1:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7tfYEBMi+7Navx/ZsEmr9E= mj@xps15
- USER_user2=user2:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7tfYEBMi+7Navx/ZsEmr9E= mj@xps15