This commit is contained in:
2025-12-18 12:28:45 +01:00
parent 7cae71d673
commit 3c23f3d8d5
4 changed files with 23 additions and 13 deletions

View File

@@ -10,11 +10,18 @@ This project is a personal cloud of services:
1. Generate a self-signed certificate for the proxy.
```
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
host=yourdomain.com
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
```
Alternatively you can generate a real CA signed certificate (if your own a domain):
```
sudo certbot certonly --cert-path services/nginx/server.crt --key-path services/nginx/server.key \
--manual --preferred-challenges dns --agree-tos --email admin@example.com \
-d gitea.yourdomain.com -d nextcloud.yourdomain.com -d openproject.yourdomain.com
```
2. Make a `.env` file (for `docker compose`).
@@ -24,7 +31,7 @@ See `.example.env`.
3. Configure the host name.
```
host=tvcloud.fr
host=yourdomain.com
sudo ./configure.bash $host .
```