docker-services/README.md

86 lines
1.7 KiB
Markdown
Raw Normal View History

2022-08-05 20:59:55 +02:00
Docker services
===============
The present role :
- installs Docker on host
- installs various services through containers and docker-compose manifest
2022-08-05 21:06:11 +02:00
It has been tested on :
2022-08-05 20:59:55 +02:00
- Debian 9
- Debian 10
- Debian 11
2022-08-05 21:06:11 +02:00
Available services
------------------
- Traefik
- Watchtower
- Grafana
2022-08-05 20:59:55 +02:00
Role variables
---------------
| Variable | Type | Choices | Default | Comment |
|----------------------------------------------|---------|------------------------------------------------------------------------------------|-------------------------|-----------------|
Dependencies
------------
None.
Example Playbook
----------------
2022-08-05 21:06:11 +02:00
```
2022-08-05 20:59:55 +02:00
- hosts: example
ignore_errors: "{{ ansible_check_mode }}" # ignore errors only in check mode !
roles:
- { role: docker-services, tags: ['docker-services'] }
2022-08-05 21:06:11 +02:00
```
2022-08-05 20:59:55 +02:00
Example variables
-----------------
2022-08-05 21:06:11 +02:00
```
2022-08-05 20:59:55 +02:00
---
docker_services:
- traefik
- watchtower
- grafana
traefik_domain: 'mydomain.com'
traefik_letsencrypt_email: 'cert@mydomain.com'
2022-08-05 21:06:11 +02:00
```
2022-08-05 20:59:55 +02:00
TODO
----
2022-08-05 21:06:11 +02:00
1. Traefik
1. add variables for basic auth in templates
2. choose between global auth vs service auth
2. Grafana
1. Handle providers
2. Handle custom dashboards
3. Permit anonymous login and user login
3. OpenVPN
1. needs to be implemented
4. SSHPortal
1. needs to be implemented
5. Loki
1. needs to be implemented
6. Promtail
1. needs to be implemented
7. Gitlab
1. needs to be implemented
2022-08-05 20:59:55 +02:00
License
-------
MIT Modern
Author Information
------------------
Written by Ludovic Cartier <ludovic.cartier@brainsys.io>