mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-05-24 15:28:44 -04:00
e599f1edc8322b6a47598982c6f78d76b4ac7313
Some checks failed
gitea / release-gitea (push) Has been cancelled
The daemon was called with --config pointing at the .runner registration state file (JSON), not a YAML config. act_runner rejected it immediately on every start, so all runners were always offline and never reconnected. Also fix log truncation and stale fallback labels. - rootfs/usr/local/bin/start-runners: remove --config from act_runner daemon invocation (act_runner finds .runner in CWD automatically after cd "$runner_dir"); fix __log to append (>>) instead of truncate (>); update fallback RUNNER_LABELS to match the full label set defined in zz-act_runner.sh rootfs/usr/local/bin/start-runners
👋 Welcome to gitea 🚀
gitea README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update gitea
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/gitea/gitea/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/gitea/rootfs"
git clone "https://github.com/dockermgr/gitea" "$HOME/.local/share/CasjaysDev/dockermgr/gitea"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/gitea/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-gitea-latest \
--hostname gitea \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/gitea:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/gitea
container_name: casjaysdevdocker-gitea
environment:
- TZ=America/New_York
- HOSTNAME=gitea
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/gitea/gitea/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/gitea/gitea/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/gitea
OR
git clone "https://github.com/casjaysdevdocker/gitea" "$HOME/Projects/github/casjaysdevdocker/gitea"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/gitea"
buildx
Authors
Description
Languages
Shell
95.7%
Dockerfile
4.3%