mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 12:34:31 -05:00
10 lines
271 B
Bash
10 lines
271 B
Bash
mkdir -p /var/lib/docker/storage/gitea && chmod -Rf 777 /var/lib/docker/storage/gitea
|
|
|
|
docker run -d --name gitea \
|
|
--privileged \
|
|
-v /var/lib/docker/storage/gitea:/data \
|
|
-p 127.0.0.1:3000:3000 \
|
|
-p 7822:7822 \
|
|
--restart=always \
|
|
registry.casjay.in/latest/gitea:latest
|