add pinchflat to stack
This commit is contained in:
parent
1271fdc2ce
commit
e8c9d42b77
@ -154,10 +154,14 @@
|
||||
- name: Install changedetection
|
||||
import_tasks: changedetection.yml
|
||||
tags: changedetection
|
||||
|
||||
- name: Install conduit
|
||||
import_tasks: conduit.yml
|
||||
tags: conduit
|
||||
|
||||
- name: Install pinchflat
|
||||
import_tasks: pinchflat.yml
|
||||
tags: pinchflat
|
||||
|
||||
- name: Install appriseapi
|
||||
import_tasks: appriseapi.yml
|
||||
|
19
roles/docker/tasks/pinchflat.yml
Normal file
19
roles/docker/tasks/pinchflat.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- name: make pinchflat directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item}}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/pinchflat
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: pinchflat-compose.yml.j2
|
||||
dest: /opt/stacks/pinchflat/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy pinchflat stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/pinchflat
|
||||
files:
|
||||
- compose.yml
|
16
roles/docker/templates/pinchflat-compose.yml.j2
Normal file
16
roles/docker/templates/pinchflat-compose.yml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
pinchflat:
|
||||
environment:
|
||||
- TZ=America/Denver
|
||||
ports:
|
||||
- 100.70.169.99:8945:8945
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- data:/downloads
|
||||
image: ghcr.io/kieraneglin/pinchflat:latest
|
||||
volumes:
|
||||
data:
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: lava
|
Loading…
x
Reference in New Issue
Block a user