doc: Rename gitea to forgejo
This commit is contained in:
parent
ecac47ae7b
commit
afee1b8a8f
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
# Gitea
|
# Forgejo
|
||||||
|
|
||||||
## Setup on Dokku
|
## Setup on Dokku
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ Setup Storage
|
||||||
|
|
||||||
dokku storage:mount /etc/localtime:/etc/localtime:ro
|
dokku storage:mount /etc/localtime:/etc/localtime:ro
|
||||||
dokku storage:mount /etc/timezone:/etc/timezone:ro
|
dokku storage:mount /etc/timezone:/etc/timezone:ro
|
||||||
dokku storage:mount /home/data/code.gitea/data:/data
|
dokku storage:mount /home/data/code.forgejo/data:/data
|
||||||
dokku storage:mount /home/git/.ssh/:/data/git/.ssh
|
dokku storage:mount /home/git/.ssh/:/data/git/.ssh
|
||||||
|
|
||||||
Setup Configuration
|
Setup Configuration
|
||||||
|
@ -50,7 +50,7 @@ Create ssh key for git user
|
||||||
ssh-keygen -t rsa -f /home/git/.ssh/id_rsa -C "Gitea Host Key"
|
ssh-keygen -t rsa -f /home/git/.ssh/id_rsa -C "Gitea Host Key"
|
||||||
chmod 600 /home/git/.ssh/id_rsa
|
chmod 600 /home/git/.ssh/id_rsa
|
||||||
|
|
||||||
Create `/usr/local/bin/gitea` with the following content
|
Create `/usr/local/bin/forgejo` with the following content
|
||||||
|
|
||||||
GITEA_CID=code.web.1
|
GITEA_CID=code.web.1
|
||||||
# GITEA_IP="$(docker inspect "$GITEA_CID" -f '{{ (index (index .NetworkSettings.Ports "80/tcp") 0).HostPort }}')"
|
# GITEA_IP="$(docker inspect "$GITEA_CID" -f '{{ (index (index .NetworkSettings.Ports "80/tcp") 0).HostPort }}')"
|
||||||
|
|
Loading…
Reference in a new issue