Merge pull request 'Prepare repo for Docker & Forgejo' (#19) from nupplaPhil/git.friendi.ca:docker into stable

Reviewed-on: #19
This commit is contained in:
Philipp Holzer 2024-05-09 23:48:33 +02:00
commit c4fef80b28
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/*