add multi-scrobbler
All checks were successful
Deploy Containers / Prepare (push) Successful in 1m6s
All checks were successful
Deploy Containers / Prepare (push) Successful in 1m6s
This commit is contained in:
6
main.yml
6
main.yml
@@ -64,9 +64,9 @@
|
|||||||
- name: Deploy Monitoring
|
- name: Deploy Monitoring
|
||||||
import_tasks: tasks/monitoring.yml
|
import_tasks: tasks/monitoring.yml
|
||||||
tags: monitoring_deploy
|
tags: monitoring_deploy
|
||||||
- name: Deploy Koito
|
- name: Deploy Scrobbling Setup
|
||||||
import_tasks: tasks/koito.yml
|
import_tasks: tasks/scrobbling.yml
|
||||||
tags: kotio_deploy
|
tags: scrobbling_deploy
|
||||||
- name: Deploy Duplicati
|
- name: Deploy Duplicati
|
||||||
import_tasks: tasks/duplicati.yml
|
import_tasks: tasks/duplicati.yml
|
||||||
tags: duplicati_deploy
|
tags: duplicati_deploy
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Deploy Kotio
|
|
||||||
include_role:
|
|
||||||
name: docker
|
|
||||||
vars:
|
|
||||||
name: kotio
|
|
||||||
networks:
|
|
||||||
- name: kotio
|
|
||||||
- name: homelab
|
|
||||||
image:
|
|
||||||
name: gabehf/koito
|
|
||||||
tag: latest
|
|
||||||
env:
|
|
||||||
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.25:5432/koito"
|
|
||||||
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/koito/app:/etc/koito"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.kotio.rule: Host(`koito.fntz.net`)
|
|
||||||
traefik.http.routers.kotio.entrypoints: webSecure
|
|
||||||
traefik.http.routers.kotio.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.kotio.loadbalancer.server.port: "4110"
|
|
||||||
48
tasks/scrobbling.yml
Normal file
48
tasks/scrobbling.yml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Kotio
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: scrobbling_kotio
|
||||||
|
network_name: scrobbling
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/scrobbling"
|
||||||
|
- "{{ data_dir }}/scrobbling/koito"
|
||||||
|
- "{{ data_dir }}/scrobbling/multi-scrobbler"
|
||||||
|
networks:
|
||||||
|
- name: scrobbling
|
||||||
|
- name: homelab
|
||||||
|
image:
|
||||||
|
name: gabehf/koito
|
||||||
|
tag: latest
|
||||||
|
env:
|
||||||
|
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.25:5432/koito"
|
||||||
|
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.kotio.rule: Host(`koito.fntz.net`)
|
||||||
|
traefik.http.routers.kotio.entrypoints: webSecure
|
||||||
|
traefik.http.routers.kotio.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.kotio.loadbalancer.server.port: "4110"
|
||||||
|
|
||||||
|
- name: Deploy Multi-Scrobbler
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: scrobbling_multi-scrobbler
|
||||||
|
image:
|
||||||
|
name: ghcr.io/foxxmd/multi-scrobbler
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: scrobbling
|
||||||
|
- name: homelab
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/scrobbling/multi-scrobbler:/config"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.scrobbler.rule: Host(`scrobbler.fntz.net`)
|
||||||
|
traefik.http.routers.scrobbler.entrypoints: webSecure
|
||||||
|
traefik.http.routers.scrobbler.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.scrobbler.loadbalancer.server.port: "9078"
|
||||||
Reference in New Issue
Block a user