mirror of
https://forge.murkfall.net/bluesaxman/old_murkfall_playbooks.git
synced 2026-03-13 02:34:20 -06:00
27 lines
684 B
Plaintext
27 lines
684 B
Plaintext
|
|
---
|
||
|
|
- 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
|