43 lines
1006 B
Markdown
43 lines
1006 B
Markdown
# tvcloud
|
|
|
|
This project is a personal cloud of services:
|
|
- [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.
|
|
|
|
```
|
|
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`).
|
|
|
|
See `.example.env`.
|
|
|
|
3. Configure the host name.
|
|
|
|
```
|
|
host=yourdomain.com
|
|
sudo ./configure.bash $host .
|
|
```
|
|
|
|
4. Start the services.
|
|
|
|
```
|
|
sudo docker compose up --detach
|
|
```
|