chore: add traggo container
All checks were successful
Deploy / Prepare Build (push) Successful in 36s
All checks were successful
Deploy / Prepare Build (push) Successful in 36s
This commit is contained in:
parent
a774faafe2
commit
642d58c8ff
4
main.yml
4
main.yml
@ -152,6 +152,10 @@
|
||||
- name: Deploy mediawiki
|
||||
import_tasks: tasks/mediawiki.yml
|
||||
tags: mediawiki_install
|
||||
|
||||
- name: Deploy traggo
|
||||
import_tasks: tasks/traggo.yml
|
||||
tags: traggo_install
|
||||
|
||||
- name: Deploy gitea-runner-homelab
|
||||
import_tasks: tasks/gitea-runner-homelab.yml
|
||||
|
26
tasks/traggo.yml
Normal file
26
tasks/traggo.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Create directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_folder }}/traggo"
|
||||
- "{{ data_folder }}/traggo/data"
|
||||
|
||||
- name: Create the traggo container
|
||||
docker_container:
|
||||
name: dozzle
|
||||
image: traggo/server:0.7.1
|
||||
restart_policy: unless-stopped
|
||||
recreate: true
|
||||
networks:
|
||||
- name: proxy
|
||||
volumes:
|
||||
- /data/traggo/data:/opt/traggo/data
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.traggo.rule: "Host(`traggo.comprofix.xyz`)"
|
||||
traefik.http.routers.traggo.entrypoints: "https"
|
||||
traefik.http.routers.traggo.tls: "true"
|
||||
traefik.http.services.traggo.loadbalancer.server.port: "3030"
|
||||
traefik.http.services.traggo.loadbalancer.server.scheme: "http"
|
Loading…
x
Reference in New Issue
Block a user