Meta repo, the depoly scripts of the website itself, host on itself. https://git.7sdre.am
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7sDream 1bba2160fc update to gitea 1.7 9 months ago
data/gitea/templates enable register email validation, notifications, update my email 1 year ago
.gitignore init 1 year ago
CHANGELOG.md enable register email validation, notifications, update my email 1 year ago
README.md Add dependiencies section in README, add changelog 1 year ago
db.env.template init 1 year ago
docker-compose.yml update to gitea 1.7 9 months ago
web.env.template init 1 year ago

README.md

git.7sdre.am

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.

Dependiencies

  • Docker (docker-ce)
  • docker-compose

With sudo if you want use default 22 port as git clone ssh port.

Usage

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.

LICENSE

WTFPL.