Prepare repo for Docker & Forgejo

This commit is contained in:
Philipp Holzer 2024-05-09 23:47:05 +02:00
parent 5948573005
commit 6b17afb929
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
7 changed files with 4 additions and 3 deletions

View file

@ -1,9 +1,8 @@
# Custom files for git.friendi.ca # Custom files for git.friendi.ca
These files are the cutsom files for git.friendi.ca. These files are the cutsom files for git.friendi.ca.
They are overriding the default template files of gitea. They are overriding the default template files of Forgejo.
The content of `custom` needs to be placed in `/var/lib/gitea` and `/usr/share/gitea` (at least at git.friendi.ca). The content of `custom` is mounted inside the Docker container at `/var/lib/gitea/custom`.
Files there are accessed in the `assets` path.
## Translation ## Translation

View file

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

2
custom/public/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /*/archive/*