git://blacka.com
/
docker_gitea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece1588
)
more tiny details
author
David Blacka
<david@blacka.com>
Wed, 1 Mar 2023 23:08:06 +0000
(18:08 -0500)
committer
David Blacka
<david@blacka.com>
Wed, 1 Mar 2023 23:08:06 +0000
(18:08 -0500)
docker-compose.yaml
patch
|
blob
|
history
setup.sh
patch
|
blob
|
history
diff --git
a/docker-compose.yaml
b/docker-compose.yaml
index
2261be3
..
4c52cc4
100644
(file)
--- a/
docker-compose.yaml
+++ b/
docker-compose.yaml
@@
-12,6
+12,7
@@
services:
- USER_UID=895
- USER_GID=895
- GITEA__server__ROOT_URL=https://blacka.com/git
+ - GITEA__service__REQUIRE_MANUAL_CONFIG=true
restart: always
networks:
- gitea
diff --git
a/setup.sh
b/setup.sh
index
9d9d54b
..
f240869
100755
(executable)
--- a/
setup.sh
+++ b/
setup.sh
@@
-13,6
+13,7
@@
if ! id -u "$HOST_GIT_UID" >/dev/null 2>&1; then
fi
install -d "$GITEA_HOME/data"
+install -o $HOST_GIT_USER -g $HOST_GIT_GROUP -m 0700 -d "$GITEA_HOME/.ssh"
cat <<"EOF" | sudo tee $GITEA_HOME/docker-shell
#!/bin/sh