32 lines
816 B
Plaintext
32 lines
816 B
Plaintext
|
---
|
||
|
- hosts: localhost
|
||
|
tasks:
|
||
|
- name: Create readarr_config
|
||
|
docker_volume:
|
||
|
name: readarr_config
|
||
|
|
||
|
- name: Create network interfaces
|
||
|
command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0
|
||
|
ignore_errors: True
|
||
|
|
||
|
- name: Start Readarr
|
||
|
docker_container:
|
||
|
name: readarr
|
||
|
hostname: readarr
|
||
|
recreate: yes
|
||
|
image: linuxserver/readarr:nightly
|
||
|
ports:
|
||
|
- "192.168.1.62:8787:8787"
|
||
|
volumes:
|
||
|
- readarr_config:/config
|
||
|
- /etc_media/Books:/books
|
||
|
- download_staging:/downloads
|
||
|
env:
|
||
|
PUID=1000
|
||
|
PGID=1000
|
||
|
TZ=US/Mountain
|
||
|
UMASK_SET=022
|
||
|
memory: 512M
|
||
|
container_default_behavior: compatibility
|
||
|
restart_policy: unless-stopped
|