added pinry to stack
This commit is contained in:
parent
c9d3fa0397
commit
b67378e3d1
@ -2,6 +2,10 @@ auth.thesatelliteoflove.com {
|
|||||||
reverse_proxy authentik-server-1:9000
|
reverse_proxy authentik-server-1:9000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pin.thesatelliteoflove.com {
|
||||||
|
reverse_proxy pinry-pinry-1:80
|
||||||
|
}
|
||||||
|
|
||||||
post.thesatelliteoflove.com {
|
post.thesatelliteoflove.com {
|
||||||
reverse_proxy postiz:5000
|
reverse_proxy postiz:5000
|
||||||
}
|
}
|
||||||
|
@ -104,4 +104,8 @@
|
|||||||
|
|
||||||
- name: Install postiz
|
- name: Install postiz
|
||||||
import_tasks: postiz.yml
|
import_tasks: postiz.yml
|
||||||
tags: postiz
|
tags: postiz
|
||||||
|
|
||||||
|
- name: Install pinry
|
||||||
|
import_tasks: pinry.yml
|
||||||
|
tags: pinry
|
19
roles/docker/tasks/pinry.yml
Normal file
19
roles/docker/tasks/pinry.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- name: make pinry directories
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ item}}"
|
||||||
|
state: directory
|
||||||
|
loop:
|
||||||
|
- /opt/stacks/pinry
|
||||||
|
|
||||||
|
- name: Template out the compose file
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: pinry-compose.yml.j2
|
||||||
|
dest: /opt/stacks/pinry/compose.yml
|
||||||
|
owner: root
|
||||||
|
mode: 644
|
||||||
|
|
||||||
|
- name: deploy pinry stack
|
||||||
|
community.docker.docker_compose_v2:
|
||||||
|
project_src: /opt/stacks/pinry
|
||||||
|
files:
|
||||||
|
- compose.yml
|
15
roles/docker/templates/pinry-compose.yml.j2
Normal file
15
roles/docker/templates/pinry-compose.yml.j2
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
pinry:
|
||||||
|
volumes:
|
||||||
|
- pinry:/data
|
||||||
|
environment:
|
||||||
|
- SECRET_KEY=no2254XiwYFWDnt2UW6wraSbVPRdHx8wVIeBh3jeYcI=
|
||||||
|
- ALLOW_NEW_REGISTRATIONS=False
|
||||||
|
image: getpinry/pinry
|
||||||
|
volumes:
|
||||||
|
pinry:
|
||||||
|
driver: local
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external: true
|
||||||
|
name: lava
|
Loading…
Reference in New Issue
Block a user