This commit is contained in:
2023-09-26 19:34:16 +02:00
parent 8f2eda318c
commit 8353c02b42
4 changed files with 46 additions and 32 deletions

View File

@@ -106,8 +106,8 @@ logrotate_scripts:
- missingok
- notifempty
- create 0644 root root
- name: dockerapps
path: /opt/dockerapps/logs/homeserver/*.log
- name: dockerapps-git
path: /opt/dockerapps/logs/homeserver/git*.log
options:
- rotate 12
- monthly
@@ -115,14 +115,41 @@ logrotate_scripts:
- missingok
- delaycompress
scripts:
- name: restart gitea
script: docker-compose restart gitea
- name: restart vaultwarden
script: docker-compose restart vaultwarden
- name: restart grafana
script: docker-compose restart grafana
- name: restart traefrik
script: docker-compose restart traefrik
postrotate: docker-compose restart gitea
- name: dockerapps-grafa
path: /opt/dockerapps/logs/homeserver/grafa*.log
options:
- rotate 12
- monthly
- compress
- missingok
- delaycompress
scripts:
postrotate: docker-compose restart grafana
- name: dockerapps-traef
path: /opt/dockerapps/logs/homeserver/traef*.log
options:
- rotate 12
- monthly
- compress
- missingok
- delaycompress
scripts:
postrotate: docker-compose restart traefik
- name: dockerapps-vault
path: /opt/dockerapps/logs/homeserver/vault*.log
options:
- rotate 12
- monthly
- compress
- missingok
- delaycompress
scripts:
postrotate: docker-compose restart vault
# name: restart gitea
# script: docker-compose restart gitea
# - postrotate: docker-compose restart vaultwarden
# - postrotate: docker-compose restart grafana
##########
@@ -131,12 +158,9 @@ logrotate_scripts:
# SHOULD BE IN [server] GROUP
chisel_server: true
chisel_version: 1.8.1
chisel_basic_auth: "user:pass"
chisel_basic_auth: "{{ chisel_client_auth_username }}:{{ chisel_client_auth_password }}"
chisel_service_name: chisel-server
chisel_server_host: 163.172.84.28
chisel_config_name: chisel-server
chisel_server_port: 8080
chisel_proxychains_conf:
# chisel enable socks5, reverse and basic auth
- path: "/etc/chisel/{{ chisel_config_name }}.conf"