Add additional services and update portainer module to only update on changed file (#5)
parent
06c3defe62
commit
c996e1061d
@ -0,0 +1,104 @@
|
||||
# https://github.com/Lissy93/dashy/blob/master/docs/showcase.md
|
||||
# Details about config.
|
||||
# https://github.com/Lissy93/dashy/blob/master/docs/configuring.md
|
||||
# Widgets: https://github.com/Lissy93/dashy/blob/master/docs/widgets.md
|
||||
---
|
||||
pageInfo:
|
||||
title: Home Lab
|
||||
sections:
|
||||
- name: Dashboards
|
||||
widgets:
|
||||
- type: gl-disk-space
|
||||
options:
|
||||
hostname: http://qnap:8083
|
||||
- type: crypto-watch-list
|
||||
options:
|
||||
currency: GBP
|
||||
sortBy: marketCap
|
||||
assets:
|
||||
- bitcoin
|
||||
- ethereum
|
||||
- monero
|
||||
- cosmos
|
||||
- polkadot
|
||||
- dogecoin
|
||||
items:
|
||||
- title: Dash Dot
|
||||
icon: hl-dashdot
|
||||
url: "http://qnap:3010"
|
||||
- title: Uptime Kuma
|
||||
icon: hl-uptime-kuma
|
||||
url: "http://qnap:3001"
|
||||
- title: Tautulli
|
||||
icon: hl-tautulli
|
||||
url: "http://qnap:8182"
|
||||
- title: Glances
|
||||
icon: hl-glances
|
||||
url: "http://qnap:8083"
|
||||
- name: Media Stack
|
||||
items:
|
||||
- title: Plex
|
||||
icon: hl-plex
|
||||
url: "http://qnap:32400"
|
||||
statusCheck: false
|
||||
- title: Sonarr
|
||||
icon: hl-sonarr
|
||||
url: "http://qnap:8989"
|
||||
- title: Radarr
|
||||
icon: hl-radarr
|
||||
url: "http://qnap:7878"
|
||||
- title: Overseerr
|
||||
icon: hl-overseerr
|
||||
url: "http://qnap:5055"
|
||||
- title: Jackett
|
||||
icon: hl-jackett
|
||||
url: "http://qnap:9117"
|
||||
statusCheckUrl: "http://qnap:9117/health"
|
||||
- title: Qbittorrent
|
||||
icon: hl-qbittorrent
|
||||
url: "http://qnap:15000"
|
||||
- name: Tools
|
||||
items:
|
||||
- title: Photoprism
|
||||
description: Manager photos
|
||||
icon: hl-photoprism
|
||||
url: "http://qnap:2342"
|
||||
- title: Olivetin
|
||||
description: Run pre-defined shell commands
|
||||
icon: hl-olivetin
|
||||
url: "http://qnap:1337"
|
||||
- title: Linkding
|
||||
description: Manager photos
|
||||
icon: hl-linkding
|
||||
url: "http://qnap:9090"
|
||||
- title: Nextcloud
|
||||
icon: hl-nextcloud
|
||||
url: "http://qnap:8081"
|
||||
- title: Mealie
|
||||
icon: hl-mealie
|
||||
url: "https://mealie.cianhatton.ie"
|
||||
- title: Gitea
|
||||
icon: hl-gitea
|
||||
url: "https://git.cianhatton.ie"
|
||||
- name: System Admin
|
||||
items:
|
||||
- title: Portainer
|
||||
description: Manage docker apps using Portainer
|
||||
icon: hl-portainer
|
||||
url: "http://qnap:9000"
|
||||
- title: Webmin
|
||||
icon: hl-webmin
|
||||
url: "http://qnap:10000"
|
||||
- title: Adminer
|
||||
description: Manage MariaDB
|
||||
icon: hl-adminer
|
||||
url: "http://qnap:3307"
|
||||
- title: Nginx Proxy Manager
|
||||
description: Manage reverse proxies
|
||||
icon: hl-nginx
|
||||
url: "http://qnap:8181"
|
||||
appConfig:
|
||||
statusCheck: true
|
||||
showSplashScreen: false
|
||||
theme: dracula
|
||||
language: en
|
||||
@ -0,0 +1,50 @@
|
||||
version: '3.5'
|
||||
services:
|
||||
dash-dot:
|
||||
container_name: dashdot
|
||||
image: mauricenino/dashdot:latest
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
ports:
|
||||
- '3010:3001'
|
||||
volumes:
|
||||
- /:/mnt/host:ro
|
||||
|
||||
dashy:
|
||||
container_name: dashy
|
||||
image: lissy93/dashy
|
||||
volumes:
|
||||
- /etc/config/dashy/dashy-config.yml:/app/public/conf.yml
|
||||
|
||||
ports:
|
||||
- 4000:80
|
||||
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- UID=1000
|
||||
- GID=1000
|
||||
|
||||
# Specify restart policy
|
||||
restart: unless-stopped
|
||||
|
||||
# Configure healthchecks
|
||||
healthcheck:
|
||||
test: ['CMD', 'node', '/app/services/healthcheck']
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
extra_hosts:
|
||||
- "qnap:192.168.178.42"
|
||||
|
||||
glances:
|
||||
image: nicolargo/glances:latest-alpine
|
||||
restart: always
|
||||
pid: host
|
||||
ports:
|
||||
- "8083:61208"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- "GLANCES_OPT=-w"
|
||||
@ -0,0 +1,16 @@
|
||||
version: "3"
|
||||
services:
|
||||
nginx-proxy-manager:
|
||||
labels:
|
||||
ie.cianhatton.backup.enabled: "true"
|
||||
image: jlesage/nginx-proxy-manager
|
||||
container_name: nginx-proxy-manager
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8181:8181
|
||||
- 80:8080
|
||||
- 443:4443
|
||||
volumes:
|
||||
- "data:/config:rw"
|
||||
volumes:
|
||||
data:
|
||||
@ -0,0 +1,19 @@
|
||||
# Listen on all addresses available, port 1337
|
||||
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
|
||||
# Choose from INFO (default), WARN and DEBUG
|
||||
logLevel: "INFO"
|
||||
# Actions (buttons) to show up on the WebUI:
|
||||
actions:
|
||||
# Docs: https://docs.olivetin.app/action-container-control.html
|
||||
- title: Restart Plex
|
||||
icon: plex
|
||||
shell: docker restart plex
|
||||
timeout: 30
|
||||
- title: Restart Dashy
|
||||
icon: restart
|
||||
shell: docker restart dashy
|
||||
timeout: 30
|
||||
- title: Restart Olivetin
|
||||
icon: restart
|
||||
shell: docker restart olivetin
|
||||
timeout: 30
|
||||
@ -0,0 +1,12 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
olivetin:
|
||||
container_name: olivetin
|
||||
image: jamesread/olivetin
|
||||
user: root
|
||||
volumes:
|
||||
- /etc/config/olivetin:/config
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- "1337:1337"
|
||||
restart: unless-stopped
|
||||
@ -0,0 +1,42 @@
|
||||
---
|
||||
version: "3"
|
||||
services:
|
||||
plex:
|
||||
labels:
|
||||
ie.cianhatton.backup.enabled: "true"
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
ports:
|
||||
- 32400:32400
|
||||
network_mode: host
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- VERSION=docker
|
||||
volumes:
|
||||
- config:/config
|
||||
- /mnt/hdds/media/tv:/tv
|
||||
- /mnt/hdds/media/movies:/movies
|
||||
- /mnt/ssd0/transcoding:/transcoding
|
||||
restart: unless-stopped
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
|
||||
tautulli:
|
||||
labels:
|
||||
ie.cianhatton.backup.enabled: "true"
|
||||
image: lscr.io/linuxserver/tautulli:latest
|
||||
container_name: tautulli
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- tautulli_config:/config
|
||||
ports:
|
||||
- 8182:8181
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
config:
|
||||
tautulli_config:
|
||||
@ -0,0 +1,16 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
uptime-kuma:
|
||||
labels:
|
||||
ie.cianhatton.backup.enabled: "true"
|
||||
image: louislam/uptime-kuma:1
|
||||
container_name: uptime-kuma
|
||||
volumes:
|
||||
- data:/app/data
|
||||
ports:
|
||||
- 3001:3001
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
data:
|
||||
@ -1,14 +1,14 @@
|
||||
- name: Create a directory if it does not exist
|
||||
- name: Portainer | Create directory if it does not exist
|
||||
ansible.builtin.file:
|
||||
path: "{{docker_compose_directory}}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy Portainer Docker Compose File
|
||||
- name: Portainer | Copy docker compose file
|
||||
copy:
|
||||
src: docker-compose.yml
|
||||
dest: "{{docker_compose_directory}}/docker-compose.yml"
|
||||
|
||||
- name: Create and Portainer
|
||||
- name: Portainer | Docker compose up
|
||||
community.docker.docker_compose:
|
||||
project_src: "{{docker_compose_directory}}"
|
||||
|
||||
Loading…
Reference in New Issue