add flag for opening firewall ports

This commit is contained in:
Denis-Cosmin Nutiu 2025-02-09 14:33:23 +02:00
parent 5d0f7e6fa6
commit 37630d3c39
2 changed files with 3 additions and 0 deletions

View file

@ -88,6 +88,7 @@
permanent: true
immediate: true
offline: true
when: peertube.open_firewall_ports
- name: "Load CIL policies"
block:
- name: Copy peertube cil

View file

@ -2,6 +2,8 @@
selinux_virt_use_samba: true
base_directory: "/peertube"
peertube:
# It will open ports 9000 and 1935. If you have the webserver on the same machine you should disable this.
open_firewall_ports: true
env_file: "environment_file"
backups_directory: "/peertube/backups"
image_name: "docker.io/chocobozzz/peertube:v7.0.1-bookworm"