Change UID

master
rohhie 2023-04-30 13:38:07 +09:00
parent 67412028ab
commit 82063a0bac
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ secho 5
echo "================================================"
echo " ユーザーgitの作成"
echo "================================================"
sudo useradd -m git
sudo useradd -u 1997 -m git
if [ $? -ne 0 ]; then
echo "処理を中止します"

View File

@ -45,8 +45,8 @@ services:
image: custom/gitea
container_name: gitea
environment:
- USER_UID=1001
- USER_GID=1001
- USER_UID=1997
- USER_GID=1997
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
- GITEA__database__NAME=gitea