cleaned pu and trying to fix gluetun

This commit is contained in:
2024-01-18 09:53:31 -06:00
parent 9102a92db5
commit bc78078eb9
9 changed files with 1 additions and 246 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ HOMEPAGE_VAR_NGINXPROXYMANAGER_USERNAME=akanealw@gmail.com
HOMEPAGE_VAR_NGINXPROXYMANAGER_PASSWORD=kDhi*NTHDzynCPPcZjY8
# GLUETUN
HOMEPAGE_VAR_GLUETUN_URL=https://gluetun.akanealw.com
HOMEPAGE_VAR_GLUETUN_URL=http://192.168.1.31:8777
# PIHOLE
HOMEPAGE_VAR_PIHOLE_URL_1=https://piholeserver1.akanealw.com
-150
View File
@@ -1,150 +0,0 @@
{
"base_app_url": "http://192.168.1.4:3012",
"email_from": "notify.akanealw@gmail.com",
"smtp_hostname": "smtp.gmail.com",
"smtp_port": 587,
"mail_options": {
"secure": false,
"auth": { "user": "notify.akanealw@gmail.com", "pass": "leawkqqpthbwacrf" },
"tls": {
"rejectUnauthorized":false,
"requireTLS":true
}
},
"secret_key": "cahre6Eosi3eighoh5bohghoom7ahG",
"log_dir": "logs",
"log_filename": "[component].log",
"log_columns": ["hires_epoch", "date", "hostname", "pid", "component", "category", "code", "msg", "data"],
"log_archive_path": "logs/archives/[yyyy]/[mm]/[dd]/[filename]-[yyyy]-[mm]-[dd].log.gz",
"log_crashes": true,
"copy_job_logs_to": "",
"queue_dir": "queue",
"pid_file": "logs/cronicled.pid",
"debug_level": 9,
"maintenance": "04:00",
"list_row_max": 10000,
"job_data_expire_days": 180,
"child_kill_timeout": 10,
"dead_job_timeout": 120,
"master_ping_freq": 20,
"master_ping_timeout": 60,
"udp_broadcast_port": 3014,
"scheduler_startup_grace": 10,
"universal_web_hook": "",
"track_manual_jobs": false,
"max_jobs": 0,
"server_comm_use_hostnames": false,
"web_direct_connect": false,
"web_socket_use_hostnames": false,
"job_memory_max": 0,
"job_memory_sustain": 0,
"job_cpu_max": 0,
"job_cpu_sustain": 0,
"job_log_max_size": 0,
"job_env": {},
"web_hook_text_templates": {
"job_start": "Job started on [hostname]: [event_title] [job_details_url]",
"job_complete": "Job completed successfully on [hostname]: [event_title] [job_details_url]",
"job_failure": "Job failed on [hostname]: [event_title]: Error [code]: [description] [job_details_url]",
"job_launch_failure": "Failed to launch scheduled event: [event_title]: [description] [edit_event_url]"
},
"client": {
"name": "Cronicle",
"debug": 1,
"default_password_type": "password",
"privilege_list": [
{ "id": "admin", "title": "Administrator" },
{ "id": "create_events", "title": "Create Events" },
{ "id": "edit_events", "title": "Edit Events" },
{ "id": "delete_events", "title": "Delete Events" },
{ "id": "run_events", "title": "Run Events" },
{ "id": "abort_events", "title": "Abort Events" },
{ "id": "state_update", "title": "Toggle Scheduler" }
],
"new_event_template": {
"enabled": 1,
"params": {},
"timing": { "minutes": [0] },
"max_children": 1,
"timeout": 3600,
"catch_up": 0,
"queue_max": 1000
}
},
"Storage": {
"engine": "Filesystem",
"list_page_size": 50,
"concurrency": 4,
"log_event_types": { "get": 1, "put": 1, "head": 1, "delete": 1, "expire_set": 1 },
"transactions": true,
"trans_auto_recover": true,
"Filesystem": {
"base_dir": "data",
"key_namespaces": 1
}
},
"WebServer": {
"http_port": 3012,
"http_htdocs_dir": "htdocs",
"http_max_upload_size": 104857600,
"http_static_ttl": 3600,
"http_static_index": "index.html",
"http_server_signature": "Cronicle 1.0",
"http_gzip_text": true,
"http_timeout": 30,
"http_regex_json": "(text|javascript|js|json)",
"http_response_headers": {
"Access-Control-Allow-Origin": "*"
},
"https": false,
"https_port": 3013,
"https_cert_file": "conf/ssl.crt",
"https_key_file": "conf/ssl.key",
"https_force": false,
"https_timeout": 30,
"https_header_detect": {
"Front-End-Https": "^on$",
"X-Url-Scheme": "^https$",
"X-Forwarded-Protocol": "^https$",
"X-Forwarded-Proto": "^https$",
"X-Forwarded-Ssl": "^on$"
}
},
"User": {
"session_expire_days": 30,
"max_failed_logins_per_hour": 5,
"max_forgot_passwords_per_hour": 3,
"free_accounts": false,
"sort_global_users": true,
"use_bcrypt": true,
"email_templates": {
"welcome_new_user": "conf/emails/welcome_new_user.txt",
"changed_password": "conf/emails/changed_password.txt",
"recover_password": "conf/emails/recover_password.txt"
},
"default_privileges": {
"admin": 0,
"create_events": 1,
"edit_events": 1,
"delete_events": 1,
"run_events": 0,
"abort_events": 0,
"state_update": 0
}
}
}
@@ -1,20 +0,0 @@
# Cronicle Data Export v1.0
# Hostname: cronicle
# Date/Time: Thu Oct 19 2023 13:46:29 GMT-0500 (Central Daylight Time)
# Format: KEY - JSON
users/admin - {"username":"admin","password":"$2a$10$VAF.FNvz1JqhCAB5rCh9GOa965eYWH3fcgWIuQFAmsZnnVS/.ye1y","full_name":"Administrator","email":"admin@cronicle.com","active":1,"modified":1697741134,"created":1697741134,"salt":"salty","privileges":{"admin":1}}
global/users - {"page_size":100,"first_page":0,"last_page":0,"length":1,"type":"list"}
global/users/0 - {"type":"list_page","items":[{"username":"admin"}]}
global/plugins - {"page_size":50,"first_page":0,"last_page":0,"length":3,"type":"list"}
global/plugins/0 - {"type":"list_page","items":[{"id":"testplug","title":"Test Plugin","enabled":1,"command":"bin/test-plugin.js","username":"admin","modified":1697741134,"created":1697741134,"params":[{"id":"duration","type":"text","size":10,"title":"Test Duration (seconds)","value":60},{"id":"progress","type":"checkbox","title":"Report Progress","value":1},{"id":"burn","type":"checkbox","title":"Burn Memory/CPU","value":0},{"id":"action","type":"select","title":"Simulate Action","items":["Success","Failure","Crash"],"value":"Success"},{"id":"secret","type":"hidden","value":"Will not be shown in Event UI"}]},{"id":"shellplug","title":"Shell Script","enabled":1,"command":"bin/shell-plugin.js","username":"admin","modified":1697741134,"created":1697741134,"params":[{"id":"script","type":"textarea","rows":10,"title":"Script Source","value":"#!/bin/sh\n\n# Enter your shell script code here"},{"id":"annotate","type":"checkbox","title":"Add Date/Time Stamps to Log","value":0},{"id":"json","type":"checkbox","title":"Interpret JSON in Output","value":0}]},{"id":"urlplug","title":"HTTP Request","enabled":1,"command":"bin/url-plugin.js","username":"admin","modified":1697741134,"created":1697741134,"params":[{"type":"select","id":"method","title":"Method","items":["GET","HEAD","POST"],"value":"GET"},{"type":"textarea","id":"url","title":"URL","rows":3,"value":"http://"},{"type":"textarea","id":"headers","title":"Request Headers","rows":4,"value":"User-Agent: Cronicle/1.0"},{"type":"textarea","id":"data","title":"POST Data","rows":4,"value":""},{"type":"text","id":"timeout","title":"Timeout (Seconds)","size":5,"value":"30"},{"type":"checkbox","id":"follow","title":"Follow Redirects","value":0},{"type":"checkbox","id":"ssl_cert_bypass","title":"SSL Cert Bypass","value":0},{"type":"text","id":"success_match","title":"Success Match","size":20,"value":""},{"type":"text","id":"error_match","title":"Error Match","size":20,"value":""}]}]}
global/categories - {"page_size":50,"first_page":0,"last_page":0,"length":1,"type":"list"}
global/categories/0 - {"type":"list_page","items":[{"id":"general","title":"General","enabled":1,"username":"admin","modified":1697741134,"created":1697741134,"description":"For events that don't fit anywhere else.","max_children":0}]}
global/server_groups - {"page_size":50,"first_page":0,"last_page":0,"length":2,"type":"list"}
global/server_groups/0 - {"type":"list_page","items":[{"id":"maingrp","title":"Primary Group","regexp":"^(cronicle)$","master":1},{"id":"allgrp","title":"All Servers","regexp":".+","master":0}]}
global/schedule - {"page_size":50,"first_page":0,"last_page":0,"length":0,"type":"list"}
global/schedule/0 - {"type":"list_page","items":[]}
global/servers - {"page_size":50,"first_page":0,"last_page":0,"length":1,"type":"list"}
global/servers/0 - {"type":"list_page","items":[{"hostname":"cronicle","ip":"192.168.1.33"}]}
global/api_keys - {"page_size":50,"first_page":0,"last_page":0,"length":0,"type":"list"}
global/api_keys/0 - {"type":"list_page","items":[]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v .appdata/cronicle/:/import --hostname localhost -p 3012:3012 --name cronicle bluet/cronicle-docker:latest bash
-11
View File
@@ -1,11 +0,0 @@
#!/bin/bash
# import data backup
if [ ! -f $DATA_DIR/.import_done ]
then
/opt/cronicle/bin/control.sh stop
/opt/cronicle/bin/control.sh import /opt/cronicle/data/cronicle-data-backup.txt
/opt/cronicle/bin/control.sh start
touch $DATA_DIR/.import_done
echo "Import completed"
fi
-10
View File
@@ -1,10 +0,0 @@
filenames:
- /logs/nginx/*.log
labels:
type: nginx-proxy-manager
---
filenames:
- /logs/auth.log
- /logs/syslog
labels:
type: syslog
-13
View File
@@ -1,13 +0,0 @@
daemon=900
use=web
protocol=dyndns2
protocol=googledomains,
login=XIQcIciDPkL98kcu,
password=eowszqJ33jjzkN6Y
akanealw.com
protocol=googledomains,
login=fl8RMB9sWyaYIbXQ,
password=lYkyofVtT1KQp59M
aknlw.com