Added pingvin to stack

This commit is contained in:
Phil 2024-10-09 11:40:11 -06:00
parent 3d9d4f6ab7
commit 3a73f85aa1
5 changed files with 49 additions and 4 deletions

View File

@ -6,6 +6,10 @@ tasks.thesatelliteoflove.com {
reverse_proxy authentik-server-1:9000
}
files.thesatelliteoflove.com {
reverse_proxy pingvin-pingvin-share-1:3000
}
git.thesatelliteoflove.com {
reverse_proxy gitea:3000
}

View File

@ -96,4 +96,8 @@
- name: Install stirlingpdf
import_tasks: stirlingpdf.yml
tags: stirlingpdf
tags: stirlingpdf
- name: Install pingvin
import_tasks: pingvin.yml
tags: pingvin

View File

@ -0,0 +1,19 @@
- name: make pingvin directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/pingvin
- name: Template out the compose file
ansible.builtin.template:
src: pingvin-compose.yml.j2
dest: /opt/stacks/pingvin/compose.yml
owner: root
mode: 644
- name: deploy pingvin stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/pingvin
files:
- compose.yml

View File

@ -1,13 +1,13 @@
- name: make stirling directories
- name: make StirlingPDF directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/stirling
- /opt/stacks/stirlingpdf
- name: Template out the compose file
ansible.builtin.template:
src: stirling-compose.yml.j2
src: striling-compose.yml.j2
dest: /opt/stacks/stirling/compose.yml
owner: root
mode: 644

View File

@ -0,0 +1,18 @@
services:
pingvin-share:
image: stonith404/pingvin-share
restart: unless-stopped
environment:
- TRUST_PROXY=true
extra_hosts:
- 'auth.thesatelliteoflove.com:172.20.0.5'
volumes:
- data:/opt/app/backend/data
- images:/opt/app/frontend/public/img
volumes:
images:
data:
networks:
default:
external: true
name: lava