Added termix
Fixed autostart for arr stack.
This commit is contained in:
parent
b7c3350bde
commit
e9084cc0f8
9 changed files with 57 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ services:
|
|||
doplarr:
|
||||
container_name: doplarr
|
||||
image: ghcr.io/kiranshila/doplarr:${DOPLARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- path: ./doplarr.env
|
||||
required: true
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
lidarr:
|
||||
container_name: lidarr
|
||||
image: ghcr.io/hotio/lidarr:${LIDARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8686:8686"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
prowlarr:
|
||||
container_name: prowlarr
|
||||
image: ghcr.io/hotio/prowlarr:${PROWLARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9696:9696"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
radarr:
|
||||
container_name: radarr
|
||||
image: ghcr.io/hotio/radarr:${RADARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7878:7878"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
sonarr:
|
||||
container_name: sonarr
|
||||
image: ghcr.io/hotio/sonarr:${SONARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8989:8989"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ services:
|
|||
whisparr:
|
||||
container_name: whisparr
|
||||
image: ghcr.io/hotio/whisparr:${WHISPARR_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "6969:6969"
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
services:
|
||||
termix:
|
||||
image: ghcr.io/lukegus/termix:latest
|
||||
container_name: termix
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '8082:8080'
|
||||
volumes:
|
||||
- /opt/termix/data:/app/data
|
||||
environment:
|
||||
PORT: '8080'
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
- name: Load distro-specific variables
|
||||
ansible.builtin.include_vars: '{{ item }}'
|
||||
tags: always
|
||||
with_first_found:
|
||||
- files:
|
||||
- "{{ ansible_facts['distribution'] }}.yaml"
|
||||
skip: true
|
||||
|
||||
- name: Ensure termix is running on this device
|
||||
block:
|
||||
- name: Ensure presense of folders for termix
|
||||
tags: packages,docker,termix
|
||||
ansible.builtin.file:
|
||||
path: /opt/termix/data
|
||||
state: directory
|
||||
recurse: true
|
||||
owner: 1000
|
||||
group: 1000
|
||||
mode: "0755"
|
||||
- name: Ensure compose files are properly loaded on the server
|
||||
tags: packages,docker,termix
|
||||
ansible.builtin.copy:
|
||||
src: docker-compose.yaml
|
||||
dest: /opt/termix/docker-compose.yaml
|
||||
owner: 1000
|
||||
group: 1000
|
||||
mode: "0644"
|
||||
- name: Ensure docker containers are pulled and running
|
||||
tags: packages,docker,termix
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/termix
|
||||
pull: policy
|
||||
|
||||
rescue:
|
||||
- name: Set that this task failed
|
||||
ansible.builtin.set_fact:
|
||||
task_failed: true
|
||||
|
|
@ -57,3 +57,4 @@
|
|||
- adhdgirl.minilab.arr
|
||||
- adhdgirl.minilab.ntfy
|
||||
- adhdgirl.minilab.cloudflared
|
||||
- adhdgirl.minilab.termix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue