Skip to content

Commit 47b62a2

Browse files
committed
Add resources
1 parent d87a0e8 commit 47b62a2

14 files changed

Lines changed: 2496 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


resources/modules/Caddy/ospanel_data/default/templates/caddy.conf

Whitespace-only changes.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[main]
2+
3+
additional_ssl_hosts =
4+
ignore_shutdown_all = off
5+
ip = auto
6+
port = 27017
7+
clean_directories = {root_dir}\temp\{module_name}\{profile_name}
8+
log_level_values = --quiet empty -v -vv -vvv -vvvv -vvvvv
9+
log_level = empty
10+
shell_command = "{root_dir}\addons\MongoShell\bin\mongosh.exe" --host {module_name} --port {port}
11+
ssl_auto_cert = off
12+
start_command = "{root_dir}\modules\{module_name}\bin\mongod.exe" --config "{root_dir}\modules\{module_name}\bin\mongod.conf" {log_level}
13+
start_directory = {root_dir}\modules\{module_name}\bin
14+
work_directories = {root_dir}\data\{module_name}\{profile_name} {root_dir}\temp\{module_name}\{profile_name}
15+
16+
allowed_system_env_vars = auto
17+
log_max_filesize = auto
18+
log_write_title = auto
19+
max_probation_fails = auto
20+
max_shutdown_time = auto
21+
probation = auto
22+
silent_mode = auto
23+
terminal_codepage = auto
24+
used_addons_environment = MongoShell MongoTools
25+
26+
[mongod.conf]
27+
28+
comment = #
29+
destination = {root_dir}\modules\{module_name}\bin\mongod.conf
30+
directory_separator = /
31+
enabled = on
32+
encoding = ASCII
33+
34+
[env.bat]
35+
36+
comment = ::
37+
destination = {root_dir}\data\cli\env_{module_name}.bat
38+
directory_separator = \
39+
enabled = on
40+
encoding = UTF8
41+
source_dir = {root_dir}\system\templates
42+
43+
[shell.bat]
44+
45+
comment = ::
46+
destination = {root_dir}\data\cli\shell_{module_name}.bat
47+
directory_separator = \
48+
enabled = on
49+
encoding = UTF8
50+
source_dir = {root_dir}\system\templates
51+
52+
[environment]
53+
54+
PATH = {root_dir}\modules\{module_name}\bin;%PATH%
55+
TEMP = {root_dir}\temp\{module_name}\{profile_name}
56+
TMP = {root_dir}\temp\{module_name}\{profile_name}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
net.port: {port}
2+
net.bindIp: {ip}
3+
net.ipv6: true
4+
5+
storage.engine: wiredTiger
6+
storage.dbPath: "{root_dir}/data/{module_name}/{profile_name}"
7+
storage.wiredTiger.engineConfig.cacheSizeGB: 0.25
8+
storage.wiredTiger.engineConfig.journalCompressor: snappy
9+
storage.wiredTiger.engineConfig.directoryForIndexes: false
10+
storage.wiredTiger.engineConfig.maxCacheOverflowFileSizeGB: 0
11+
storage.wiredTiger.collectionConfig.blockCompressor: snappy
12+
storage.wiredTiger.indexConfig.prefixCompression: true
3.31 MB
Binary file not shown.
674 KB
Binary file not shown.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
[main]
2+
3+
additional_ssl_hosts =
4+
clean_directories = {root_dir}\temp\{module_name}\{profile_name}\opcache {root_dir}\temp\{module_name}\{profile_name}\wsdl_cache
5+
ignore_shutdown_all = off
6+
ip = auto
7+
log_directory = {root_dir}\logs\{module_name}
8+
port = 9000
9+
shell_command = {root_dir}\modules\{module_name}\php.exe -a
10+
ssl_auto_cert = on
11+
start_command = {root_dir}\modules\{module_name}\php-cgi.exe -b {ip}:{port}
12+
start_directory = {root_dir}\modules\{module_name}
13+
work_directories = {root_dir}\temp\{module_name}\{profile_name}\opcache {root_dir}\temp\{module_name}\{profile_name}\session {root_dir}\temp\{module_name}\{profile_name}\wsdl_cache {root_dir}\temp\{module_name}\{profile_name}\watch {root_dir}\temp\{module_name}\{profile_name}\snmp {root_dir}\temp\{module_name}\{profile_name}\xdebug {root_dir}\temp\{module_name}\{profile_name}\xhprof {root_dir}\temp\{module_name}\{profile_name}\vld {root_dir}\temp\upload {root_dir}\logs\domains {root_dir}\logs\{module_name}\seaslog {root_dir}\data\{module_name}\{profile_name}\composer\cache
14+
15+
allowed_system_env_vars = auto
16+
log_max_filesize = auto
17+
log_write_title = auto
18+
max_probation_fails = auto
19+
max_shutdown_time = auto
20+
probation = auto
21+
silent_mode = auto
22+
terminal_codepage = auto
23+
time_zone = auto
24+
used_addons_environment = DB2-ODBC FFMpeg Ghostscript ImageMagick-vs17 InstantClient Libwebp
25+
26+
[php.ini]
27+
28+
comment = ;
29+
destination = {root_dir}\modules\{module_name}\php.ini
30+
directory_separator = /
31+
enabled = on
32+
encoding = ASCII
33+
34+
[env.bat]
35+
36+
comment = ::
37+
destination = {root_dir}\data\cli\env_{module_name}.bat
38+
directory_separator = \
39+
enabled = on
40+
encoding = UTF8
41+
source_dir = {root_dir}\system\templates
42+
43+
[shell.bat]
44+
45+
comment = ::
46+
destination = {root_dir}\data\cli\shell_{module_name}.bat
47+
directory_separator = \
48+
enabled = on
49+
encoding = UTF8
50+
source_dir = {root_dir}\system\templates
51+
52+
[environment]
53+
54+
; Composer environment
55+
56+
COMPOSER =
57+
COMPOSER_ALLOW_SUPERUSER = 1
58+
COMPOSER_ALLOW_XDEBUG =
59+
COMPOSER_AUTH =
60+
COMPOSER_BIN_DIR =
61+
COMPOSER_CACHE_DIR = {root_dir}\data\{module_name}\{profile_name}\composer\cache
62+
COMPOSER_CAFILE = {root_dir}\data\ssl\cacert.pem
63+
COMPOSER_DEBUG_EVENTS =
64+
COMPOSER_DISABLE_NETWORK =
65+
COMPOSER_DISABLE_XDEBUG_WARN = 0
66+
COMPOSER_DISCARD_CHANGES =
67+
COMPOSER_HOME = {root_dir}\data\{module_name}\{profile_name}\composer
68+
COMPOSER_HTACCESS_PROTECT = 1
69+
COMPOSER_IGNORE_PLATFORM_REQ =
70+
COMPOSER_IGNORE_PLATFORM_REQS =
71+
COMPOSER_MAX_PARALLEL_HTTP =
72+
COMPOSER_MEMORY_LIMIT =
73+
COMPOSER_MIRROR_PATH_REPOS =
74+
COMPOSER_NO_AUDIT =
75+
COMPOSER_NO_DEV =
76+
COMPOSER_NO_INTERACTION =
77+
COMPOSER_PREFER_LOWEST =
78+
COMPOSER_PREFER_STABLE =
79+
COMPOSER_PROCESS_TIMEOUT =
80+
COMPOSER_ROOT_VERSION =
81+
COMPOSER_RUNTIME_ENV =
82+
COMPOSER_SELF_UPDATE_TARGET =
83+
COMPOSER_VENDOR_DIR =
84+
85+
; Composer proxy environment
86+
; https://getcomposer.org/doc/faqs/how-to-use-composer-behind-a-proxy.md
87+
88+
CGI_HTTP_PROXY =
89+
HTTP_PROXY =
90+
HTTP_PROXY_REQUEST_FULLURI =
91+
HTTPS_PROXY =
92+
HTTPS_PROXY_REQUEST_FULLURI =
93+
NO_PROXY =
94+
95+
; OpenSSL environment
96+
97+
OPENSSL_CONF = {root_dir}\modules\{module_name}\extras\ssl\openssl.cnf
98+
OPENSSL_WIN32_UTF8 = 1
99+
100+
; XDebug environment
101+
102+
XDEBUG_CONFIG =
103+
XDEBUG_MODE =
104+
105+
; PHP environment
106+
107+
MIBDIRS = {root_dir}\modules\{module_name}\extras\mibs
108+
PHP_FCGI_CHILDREN = 16
109+
PHP_FCGI_MAX_REQUESTS = 1000
110+
PHPRC = {root_dir}\modules\{module_name}
111+
SNMP_PERSISTENT_DIR = {root_dir}\temp\{module_name}\{profile_name}\snmp
112+
113+
; General environment
114+
115+
PATH = {root_dir}\modules\{module_name};{root_dir}\data\{module_name}\{profile_name}\composer\vendor\bin;%PATH%
116+
TEMP = {root_dir}\temp\{module_name}\{profile_name}
117+
TMP = {root_dir}\temp\{module_name}\{profile_name}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<IfModule !mod_authz_core.c>
2+
Deny from all
3+
</IfModule>
4+
<IfModule mod_access_compat.c>
5+
Deny from all
6+
</IfModule>
7+
<IfModule mod_authz_core.c>
8+
<IfModule !mod_access_compat.c>
9+
Require all denied
10+
</IfModule>
11+
</IfModule>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<IfModule !mod_authz_core.c>
2+
Deny from all
3+
</IfModule>
4+
<IfModule mod_access_compat.c>
5+
Deny from all
6+
</IfModule>
7+
<IfModule mod_authz_core.c>
8+
<IfModule !mod_access_compat.c>
9+
Require all denied
10+
</IfModule>
11+
</IfModule>
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
[main]
2+
3+
additional_ssl_hosts =
4+
ignore_shutdown_all = off
5+
ip = auto
6+
port = 5432
7+
clean_directories = {root_dir}\temp\{module_name}\{profile_name}
8+
log_level_values = panic fatal log error warning notice info debug1 debug2 debug3 debug4 debug5
9+
log_level = notice
10+
query_log_values = none ddl mod all
11+
query_log_level = none
12+
shell_command = "{root_dir}\modules\{module_name}\bin\psql.exe"
13+
ssl_auto_cert = off
14+
start_command = "{root_dir}\modules\{module_name}\bin\postgres.exe"
15+
start_directory = {root_dir}\modules\{module_name}\bin
16+
work_directories = {root_dir}\data\{module_name}\{profile_name} {root_dir}\temp\{module_name}\{profile_name}
17+
18+
allowed_system_env_vars = auto
19+
log_max_filesize = auto
20+
log_write_title = auto
21+
max_probation_fails = auto
22+
max_shutdown_time = auto
23+
probation = auto
24+
silent_mode = auto
25+
terminal_codepage = auto
26+
time_zone = auto
27+
used_addons_environment = auto
28+
29+
[postgresql.conf]
30+
31+
comment = #
32+
destination = {root_dir}\data\{module_name}\{profile_name}\postgresql.conf
33+
directory_separator = /
34+
enabled = on
35+
encoding = ASCII
36+
37+
[pg_hba.conf]
38+
39+
comment = #
40+
destination = {root_dir}\data\{module_name}\{profile_name}\pg_hba.conf
41+
directory_separator = /
42+
enabled = on
43+
encoding = ASCII
44+
45+
[env.bat]
46+
47+
comment = ::
48+
destination = {root_dir}\data\cli\env_{module_name}.bat
49+
directory_separator = \
50+
enabled = on
51+
encoding = UTF8
52+
source_dir = {root_dir}\system\templates
53+
54+
[shell.bat]
55+
56+
comment = ::
57+
destination = {root_dir}\data\cli\shell_{module_name}.bat
58+
directory_separator = \
59+
enabled = on
60+
encoding = UTF8
61+
source_dir = {root_dir}\system\templates
62+
63+
[environment]
64+
65+
PATH = {root_dir}\modules\{module_name}\bin;%PATH%
66+
PGAPPNAME =
67+
PGDATA = {root_dir}\data\{module_name}\{profile_name}
68+
PGDATABASE =
69+
PGDATESTYLE =
70+
PGCHANNELBINDING =
71+
PGCLIENTENCODING = utf-8
72+
PGCONNECT_TIMEOUT =
73+
PGGEQO =
74+
PGGSSDELEGATION =
75+
PGGSSENCMODE =
76+
PGGSSLIB =
77+
PGHOST = {module_name}
78+
PGHOSTADDR =
79+
PGKRBSRVNAME =
80+
PGLOADBALANCEHOSTS =
81+
PGLOCALEDIR = {root_dir}\modules\{module_name}\share\locale
82+
PGOPTIONS =
83+
PGPASSWORD =
84+
PGPASSFILE =
85+
PGPORT = {port}
86+
PGREQUIREAUTH =
87+
PGSERVICE =
88+
PGSERVICEFILE =
89+
PGSSLCERT =
90+
PGSSLCOMPRESSION =
91+
PGSSLCRL =
92+
PGSSLCRLDIR =
93+
PGSSLKEY =
94+
PGSSLMAXPROTOCOLVERSION =
95+
PGSSLMINPROTOCOLVERSION =
96+
PGSSLMODE = disable
97+
PGSSLNEGOTIATION =
98+
PGSSLCERTMODE =
99+
PGSSLROOTCERT =
100+
PGSSLSNI =
101+
PGSYSCONFDIR = {root_dir}\data\{module_name}\{profile_name}
102+
PGTARGETSESSIONATTRS =
103+
PGTZ = {time_zone}
104+
PGUSER = postgres
105+
TEMP = {root_dir}\temp\{module_name}\{profile_name}
106+
TMP = {root_dir}\temp\{module_name}\{profile_name}

0 commit comments

Comments
 (0)