NFS, zfs, samba and docker

This commit is contained in:
git
2024-02-13 13:04:02 +01:00
parent ec0a0774a7
commit 77dffb383d
67 changed files with 831 additions and 30 deletions

View File

@@ -0,0 +1,13 @@
---
# tasks file for docker_spin_up
#- name: Copy composer
# template:
# src: "../templates/{{ docker_compose_file }}"
# dest: "/{{ docker_homepath }}/docker-compose.yml"
# owner: root
# group: root
# mode: '0644'
- name: Spin up "{{ docker_name }}"
ansible.builtin.include_tasks:
"{{ docker_compose_file }}"

View File

@@ -0,0 +1,24 @@
---
- name: transmission
community.docker.docker_container:
name: transmission
image: lscr.io/linuxserver/transmission:latest
#container_name: transmission
env:
PUID: "{{ uid }}"
PGID: "{{ uid }}"
TZ: Europe/Berlin
#TRANSMISSION_WEB_HOME=/combustion-release/ #optional
USER: "{{ user }}" #optional
PASS: "{{ password }}" #optional
volumes:
# - /path/to/data:/config
- "{{ docker_homepath }}/downloads:/downloads"
- "{{ docker_homepath }}/watch:/watch"
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
restart_policy: unless-stopped
#networks:
# - name: global