98 lines
2.4 KiB
Plaintext
98 lines
2.4 KiB
Plaintext
---
|
|
- hosts: localhost
|
|
tasks:
|
|
- name: Create sabnzbd Config
|
|
docker_volume:
|
|
name: sabnzbd_config
|
|
|
|
- name: Create Deluge config
|
|
docker_volume:
|
|
name: deluge_config
|
|
|
|
- name: Create Jackett config
|
|
docker_volume:
|
|
name: jackett_config
|
|
|
|
- name: Create download volume
|
|
docker_volume:
|
|
name: download_staging
|
|
|
|
- name: Create network interfaces
|
|
command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0
|
|
ignore_errors: True
|
|
|
|
- name: Start Deluge
|
|
docker_container:
|
|
name: deluge
|
|
hostname: deluge
|
|
recreate: yes
|
|
image: linuxserver/deluge
|
|
network_mode: host
|
|
volumes:
|
|
- deluge_config:/config
|
|
- download_staging:/downloads
|
|
env:
|
|
PUID=1000
|
|
PGID=1000
|
|
TZ=US/Mountain
|
|
UMASK_SET=022
|
|
memory: 1G
|
|
container_default_behavior: compatibility
|
|
restart_policy: unless-stopped
|
|
|
|
- name: Start Sabnzbd
|
|
docker_container:
|
|
name: sabnzbd
|
|
hostname: sabnzbd
|
|
recreate: yes
|
|
image: linuxserver/sabnzbd
|
|
ports:
|
|
- "192.168.1.62:8080:8080"
|
|
- "192.168.1.62:9090:9090"
|
|
volumes:
|
|
- sabnzbd_config:/config
|
|
- download_staging:/downloads
|
|
env:
|
|
PUID=1000
|
|
PGID=1000
|
|
TZ=US/Mountain
|
|
memory: 1G
|
|
container_default_behavior: compatibility
|
|
restart_policy: unless-stopped
|
|
|
|
- name: Start Flaresolverr
|
|
docker_container:
|
|
name: flaresolverr
|
|
hostname: flaresolverr
|
|
recreate: yes
|
|
image: flaresolverr/flaresolverr
|
|
ports:
|
|
- "192.168.1.62:8191:8191"
|
|
env:
|
|
LOG_LEVEL=info
|
|
LOG_HTML=false
|
|
CAPTCHA_SOLVER=none
|
|
TZ=US/Mountain
|
|
memory: 512M
|
|
container_default_behavior: compatibility
|
|
restart_policy: unless-stopped
|
|
|
|
- name: Start Jackett
|
|
docker_container:
|
|
name: jackett
|
|
hostname: jackett
|
|
recreate: yes
|
|
image: linuxserver/jackett:0.22.420
|
|
ports:
|
|
- "192.168.1.62:9117:9117"
|
|
volumes:
|
|
- jackett_config:/config
|
|
- download_staging:/downloads
|
|
env:
|
|
PUID=1000
|
|
PGID=1000
|
|
TZ=US/Mountain
|
|
memory: 512M
|
|
container_default_behavior: compatibility
|
|
restart_policy: unless-stopped
|