more tiny details

This commit is contained in:
David Blacka 2023-03-01 18:08:06 -05:00
parent ece158882f
commit 188e75a2d4
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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