selfhost/README.md

33 lines
1.5 KiB
Markdown
Raw Permalink Normal View History

2020-11-28 21:51:37 +00:00
# Selfhost of Services
2022-03-11 11:19:07 +00:00
Hosting the following web services using docker-compose on a public root server:
2020-11-28 21:51:37 +00:00
* [Nextcloud](https://nextcloud.com/)
* [Gitea](https://gitea.io/)
* [Wallabag](https://www.wallabag.it)
* Small HTML-Site
2022-03-11 11:19:07 +00:00
* Firefox-Sync
* Monitoring-Stack with [Telegraf](https://github.com/influxdata/telegraf), [Influxdb](https://github.com/influxdata/influxdb) and [Grafana](https://github.com/grafana/grafana)
2020-11-28 21:51:37 +00:00
As a reverse proxyy [Traefik](https://traefik.io/traefik/) is used. Traefik also secures all Services with TLS and redirects all HTTP requests to HTTPS. SSL certificates are automatically generated using [Let's Encrypt](https://letsencrypt.org/)
2022-03-11 11:19:07 +00:00
## How to deploy
2020-11-28 21:51:37 +00:00
1. [Install Docker](https://docs.docker.com/engine/install/debian/)
2023-01-12 09:31:01 +00:00
2. [Install Docker Compose v2 Plugin](https://docs.docker.com/compose/install/linux/)
2022-03-11 11:19:07 +00:00
3. Clone this repository
4. create *.env* file in each folder and set environment variables.
Example:
~~~
DOMAIN=example.com
TRAEFIK_VERSION=2.4
~~~
2023-01-12 09:31:01 +00:00
5. run *pull-all.sh" and *start-all.sh" scripts
2020-11-28 21:51:37 +00:00
## Links:
* [Nextcloud docker](https://github.com/nextcloud/docker/)
* [Gitea Doku: Install with Docker](https://docs.gitea.io/en-us/install-with-docker/)
* [Docker Swarm Rocks](https://dockerswarm.rocks/)
2022-03-11 11:19:07 +00:00
* [Mozilla Services Documentation](https://mozilla-services.readthedocs.io/en/latest/index.html)
2023-01-12 09:31:01 +00:00
* [Docker Compose](https://docs.docker.com/compose/)
* [Docker Compose File Specification/Reference](https://docs.docker.com/compose/compose-file/)