Add Gitea service

This commit is contained in:
2025-12-17 00:16:52 +01:00
parent 6ea73ac0aa
commit 7cae71d673
4 changed files with 92 additions and 22 deletions

View File

@@ -1,24 +1,31 @@
# tvcloud
This project is a personal cloud of services:
- NextCloud
- OpenProject
- [NextCloud](https://nextcloud.com/)
- [OpenProject](https://www.openproject.org/)
- [Gitea](https://about.gitea.com/products/gitea/)
# Setup
1. Generate a self-signed certificate for the proxy.
```
openssl genpkey -algorithm RSA -out server.key
openssl req -new -x509 -key server.key -out server.crt -days 365
host=tvcloud.fr
mkcert \
-cert-file services/nginx/server.crt \
-key-file services/nginx/server.key \
gitea.$host nextcloud.$host openproject.$host $host 127.0.0.1 ::1
```
2. Make a `.env` file for `docker-compose.yaml`. See `.example.env`.
2. Make a `.env` file (for `docker compose`).
See `.example.env`.
3. Configure the host name.
```
./configure.bash HOSTNAME .
host=tvcloud.fr
sudo ./configure.bash $host .
```
4. Start the services.
@@ -26,18 +33,3 @@ openssl req -new -x509 -key server.key -out server.crt -days 365
```
sudo docker compose up --detach
```
# OpenProject
- [Upgrade](https://www.openproject.org/docs/installation-and-operations/installation/docker-compose/#upgrade)
- [Backup](https://www.openproject.org/docs/installation-and-operations/installation/docker-compose/#backup)
# Joplin
- Update/Install:
```
wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash
```
You can then [synchronize it with NextCloud](https://joplinapp.org/help/apps/sync/nextcloud/).