Added pingvin to stack
This commit is contained in:
parent
3d9d4f6ab7
commit
3a73f85aa1
@ -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
|
||||
}
|
||||
|
@ -97,3 +97,7 @@
|
||||
- name: Install stirlingpdf
|
||||
import_tasks: stirlingpdf.yml
|
||||
tags: stirlingpdf
|
||||
|
||||
- name: Install pingvin
|
||||
import_tasks: pingvin.yml
|
||||
tags: pingvin
|
19
roles/docker/tasks/pingvin.yml
Normal file
19
roles/docker/tasks/pingvin.yml
Normal 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
|
@ -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
|
||||
|
18
roles/docker/templates/pingvin-compose.yml.j2
Normal file
18
roles/docker/templates/pingvin-compose.yml.j2
Normal 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
|
Loading…
Reference in New Issue
Block a user