docker4: photoprism (#167)
Firewall angepasst für munin docker4: photoprism eingebaut Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#167 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
b435a3dceb
commit
a12ced1e7c
3 changed files with 17 additions and 11 deletions
|
@ -17,14 +17,3 @@
|
||||||
/var/lib/docker/volumes/docker-photoprism_pp_smb_bilder***/**
|
/var/lib/docker/volumes/docker-photoprism_pp_smb_bilder***/**
|
||||||
# https://github.com/restic/restic/issues/1005
|
# https://github.com/restic/restic/issues/1005
|
||||||
# https://forum.restic.net/t/exclude-syntax-confusion/1531/12
|
# https://forum.restic.net/t/exclude-syntax-confusion/1531/12
|
||||||
### oefenweb.ufw
|
|
||||||
ufw_rules:
|
|
||||||
- rule: allow
|
|
||||||
to_port: 22
|
|
||||||
protocol: tcp
|
|
||||||
comment: 'ssh'
|
|
||||||
from_ip: 192.168.2.0/24
|
|
||||||
- rule: allow
|
|
||||||
to_port: 4949
|
|
||||||
protocol: tcp
|
|
||||||
comment: 'munin'
|
|
||||||
|
|
|
@ -28,3 +28,14 @@
|
||||||
- '^127\.0\.0\.1$'
|
- '^127\.0\.0\.1$'
|
||||||
- '^::1$'
|
- '^::1$'
|
||||||
- ^0\.0\.0\.0$
|
- ^0\.0\.0\.0$
|
||||||
|
### oefenweb.ufw
|
||||||
|
ufw_rules: # ist extra weil bei munin kein subnet angegeben ist
|
||||||
|
- rule: allow
|
||||||
|
to_port: 22
|
||||||
|
protocol: tcp
|
||||||
|
comment: 'ssh'
|
||||||
|
from_ip: 192.168.2.0/24
|
||||||
|
- rule: allow
|
||||||
|
to_port: 4949
|
||||||
|
protocol: tcp
|
||||||
|
comment: 'munin'
|
||||||
|
|
|
@ -6,3 +6,9 @@
|
||||||
dir_name: docker-watchtower
|
dir_name: docker-watchtower
|
||||||
repository_url: git.mgrote.net/mg/docker-watchtower
|
repository_url: git.mgrote.net/mg/docker-watchtower
|
||||||
state: present
|
state: present
|
||||||
|
- name: photoprism
|
||||||
|
dir_name: docker-photoprism
|
||||||
|
repository_url: git.mgrote.net/mg/docker-photoprism
|
||||||
|
state: present
|
||||||
|
repository_user: mg
|
||||||
|
repository_user_password: "{{ lookup('keepass', 'gitea_mg_https_password', 'password') }}"
|
||||||
|
|
Loading…
Reference in a new issue