Hello I have already installed gitea and it is finally working great with ubuntu server. I run Gitea from special precreated user
But now i try to create it with docker
My setup is:
- Proxmox VMs;
- Install docker + docker compose + portainer;
- I create special user (in my case): gitea for running demon inside container. I create Gitea User on my ubuntu server with docker setup.
- User parameters are:
Adding system usergitea' (UID 109) ...** **Adding new group
gitea’ (GID 115) …
Adding new usergitea' (UID 109) with group
gitea’ - My docker-compose file is:
version: "3"
services:
server:
image: gitea/gitea:latest
container_name: gitea
restart: always
environment:
- USER_UID=109
- USER_GID=115
volumes:
- ./data:/data
- ./custom:/app/gitea/custom
- ./log:/app/gitea/log
ports:
- "3002:3000"
- "2222:22"
- I run conteiner
Problems:
- i cant change default user in Gitea setup in GUI (screen). But all other fields i change to …/gitea/…
- Gitea service still running with GIT user and i can’t change it.
So, how we can switch and run Gitea service with precreated special user, not with GIT and run demon in container from this user?