Change UID
parent
67412028ab
commit
82063a0bac
|
@ -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 "処理を中止します"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue