mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-13 23:47:10 +00:00
Add The Lounge IRC client
This commit is contained in:
parent
1ae9f2217c
commit
1617578dd8
9 changed files with 75 additions and 5 deletions
|
@ -17,7 +17,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
|
|||
* A Dropbox replacement via Nextcloud
|
||||
* Various ways to see stats about your NAS - Glances, dashboards in Grafana
|
||||
* A backup tool - allows scheduled backups to Amazon S3, OneDrive, Dropbox etc
|
||||
* An IRC bouncer
|
||||
* An IRC bouncer and web-based client
|
||||
* Source control with Gitea
|
||||
* SSL secured external access to some applications via Traefik
|
||||
* A Docker host with Portainer for image and container management
|
||||
|
@ -50,6 +50,7 @@ just a stock Ubuntu install, some clever Ansible config and a bunch of Docker co
|
|||
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
||||
* [Tautulli](http://tautulli.com/) - Monitor Your Plex Media Server
|
||||
* [Telegraf](https://github.com/influxdata/telegraf) - Metrics collection agent
|
||||
* [The Lounge](https://thelounge.chat) - Web based always-on IRC client
|
||||
* [TimeMachine](https://github.com/mbentley/docker-timemachine) - Mac backup server
|
||||
* [Traefik](https://traefik.io/) - Web proxy and SSL certificate manager
|
||||
* [Transmission](https://transmissionbt.com/) - BitTorrent client (with OpenVPN if you have a supported VPN provider)
|
||||
|
|
15
docs/applications/thelounge.md
Normal file
15
docs/applications/thelounge.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# The Lounge
|
||||
|
||||
Homepage: [https://thelounge.chat/](https://thelounge.chat/)
|
||||
|
||||
The Lounge is a self-hosted web IRC client.
|
||||
|
||||
## Usage
|
||||
|
||||
Set `thelounge_enabled: true` in your `group_vars/all.yml` file.
|
||||
|
||||
The Lounge web interface can be found at http://ansible_nas_host_or_ip:9000.
|
||||
|
||||
## Specific Configuration
|
||||
|
||||
The default username and password is `admin`. Change this once you've logged in!
|
|
@ -27,6 +27,7 @@ By default, applications can be found on the ports listed below.
|
|||
| Sickrage | 8081 | |
|
||||
| Sonarr | 8989 | |
|
||||
| Tautulli | 8181 | |
|
||||
| The Lounge | 9000 | |
|
||||
| Traefik | 8083 | |
|
||||
| Transmission | 9091 | with VPN |
|
||||
| Transmission | 9092 | |
|
||||
|
|
8
files/thelounge/users/admin.json
Normal file
8
files/thelounge/users/admin.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"password": "$2a$11$RczoChslMhXzpgdYV.wAPO45jGSlb6D9x2yaT3d0IDvXvdOwzmenS",
|
||||
"log": true,
|
||||
"awayMessage": "",
|
||||
"networks": [],
|
||||
"sessions": {},
|
||||
"clientSettings": {}
|
||||
}
|
|
@ -57,9 +57,9 @@ nextcloud_enabled: false
|
|||
gitea_enabled: false
|
||||
timemachine_enabled: false
|
||||
|
||||
# IRC bouncer
|
||||
# IRC
|
||||
znc_enabled: false
|
||||
|
||||
thelounge_enabled: false
|
||||
|
||||
###
|
||||
### General
|
||||
|
@ -477,7 +477,12 @@ mymediaforalexa_media_directory: "{{ music_root }}"
|
|||
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
||||
|
||||
###
|
||||
### jackett
|
||||
### Jackett
|
||||
###
|
||||
jackett_available_externally: "false"
|
||||
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||
|
||||
###
|
||||
### The Lounge
|
||||
###
|
||||
thelounge_data_directory: "{{ docker_home }}/thelounge"
|
4
nas.yml
4
nas.yml
|
@ -59,6 +59,10 @@
|
|||
when: (transmission_with_openvpn_enabled | default(False))
|
||||
tags: transmission
|
||||
|
||||
- import_tasks: tasks/thelounge.yml
|
||||
when: (thelounge_enabled | default(False))
|
||||
tags: thelounge
|
||||
|
||||
- import_tasks: tasks/sonarr.yml
|
||||
when: (sonarr_enabled | default(False))
|
||||
tags: sonarr
|
||||
|
|
29
tasks/thelounge.yml
Normal file
29
tasks/thelounge.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
- name: The Lounge Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ thelounge_data_directory }}"
|
||||
- "{{ thelounge_data_directory }}/users"
|
||||
|
||||
- name: Set up admin user
|
||||
copy:
|
||||
src: files/thelounge/users/admin.json
|
||||
dest: "{{ thelounge_data_directory }}/users/admin.json"
|
||||
mode: 0777
|
||||
|
||||
- name: The Lounge Docker Container
|
||||
docker_container:
|
||||
name: thelounge
|
||||
image: thelounge/thelounge:latest
|
||||
pull: true
|
||||
ports:
|
||||
- "113:9001"
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- "{{ thelounge_data_directory }}:/var/opt/thelounge"
|
||||
- "/var/run/dbus:/var/run/dbus"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
|
|
@ -198,6 +198,7 @@ onDemand = false # create certificate when container is created
|
|||
"sickrage.{{ ansible_nas_domain }}",
|
||||
"sonarr.{{ ansible_nas_domain }}",
|
||||
"tautulli.{{ ansible_nas_domain }}",
|
||||
"thelounge.{{ ansible_nas_domain }}",
|
||||
"transmission.{{ ansible_nas_domain }}",
|
||||
"transmission-openvpn.{{ ansible_nas_domain }}",
|
||||
"znc.{{ ansible_nas_domain }}"]
|
|
@ -56,8 +56,9 @@ nextcloud_enabled: false
|
|||
gitea_enabled: false
|
||||
timemachine_enabled: false
|
||||
|
||||
# IRC bouncer
|
||||
# IRC
|
||||
znc_enabled: false
|
||||
thelounge_enabled: false
|
||||
|
||||
###
|
||||
### General
|
||||
|
@ -480,3 +481,8 @@ mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
|
|||
###
|
||||
jackett_available_externally: "false"
|
||||
jackett_data_directory: "{{ docker_home }}/jackett"
|
||||
|
||||
###
|
||||
### The Lounge
|
||||
###
|
||||
thelounge_data_directory: "{{ docker_home }}/thelounge"
|
Loading…
Reference in a new issue