more tiny details
This commit is contained in:
parent
ece158882f
commit
188e75a2d4
@ -12,6 +12,7 @@ services:
|
|||||||
- USER_UID=895
|
- USER_UID=895
|
||||||
- USER_GID=895
|
- USER_GID=895
|
||||||
- GITEA__server__ROOT_URL=https://blacka.com/git
|
- GITEA__server__ROOT_URL=https://blacka.com/git
|
||||||
|
- GITEA__service__REQUIRE_MANUAL_CONFIG=true
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
|
1
setup.sh
1
setup.sh
@ -13,6 +13,7 @@ if ! id -u "$HOST_GIT_UID" >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install -d "$GITEA_HOME/data"
|
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
|
cat <<"EOF" | sudo tee $GITEA_HOME/docker-shell
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
Loading…
Reference in New Issue
Block a user