|
9 months ago | |
---|---|---|
data/gitea/templates | 1 year ago | |
.gitignore | 1 year ago | |
CHANGELOG.md | 1 year ago | |
README.md | 1 year ago | |
db.env.template | 1 year ago | |
docker-compose.yml | 9 months ago | |
web.env.template | 1 year ago |
This repo contains the code I use to deploy Gitea as this site.
It has a docker compose file and some changes to the template file of origin Gitea.
With sudo if you want use default 22 port as git clone ssh port.
git clone https://git.7sdre.am/git.7sdre.am.git
cd git.7sdre.am
vim docker-compose.yml
# change ROOT_URL and SSH_DOMAIN to yours
cp web.env.template web.env
vim web.env
# change those settings, nothing special
cp db.env.template db.env
vim db.env
# change settings, keep them same with those field in web.env
sudo docker-compose up -d
and see localhost:3000
for result. If your want make it public, use a reverse proxy like Nginx.
WTFPL.