mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 06:34:31 -05:00
12 lines
304 B
Bash
12 lines
304 B
Bash
|
#!/usr/bin/env 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
|