27 lines
684 B
Plaintext
Raw Normal View History

---
- hosts: localhost
tasks:
- name: Create network interfaces
command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0
ignore_errors: True
- name: Start Calibre
docker_container:
name: calibre
hostname: calibre
recreate: yes
image: linuxserver/calibre
ports:
- "192.168.1.62:8788:8080"
- "192.168.1.62:8789:8081"
volumes:
- /etc_media/Books:/config
env:
PUID=1000
PGID=1000
TZ=US/Mountain
UMASK_SET=022
memory: 512M
container_default_behavior: compatibility
restart_policy: unless-stopped