mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-18 21:57:46 -04:00
🗃️ Committing everything that changed 🗃️
applications/php/scripts/packages.sh applications/postgres/scripts/install.sh applications/redis/config/ applications/redis/scripts/commands.sh configs/nginx/nginx.conf configs/nginx/nginx.ssl.conf configs/nginx/vhosts.d/default.conf configs/nginx/vhosts.d/default.conf.sample configs/nginx/vhosts.d/default.ssl.conf configs/nginx/vhosts.d/default.ssl.sample configs/phppgadmin/ configs/postgres/ init/ wwwroot/404.html wwwroot/cgi-bin/ wwwroot/css/ wwwroot/favicon.ico wwwroot/health/ wwwroot/images/ wwwroot/index.php wwwroot/info.php wwwroot/js/ wwwroot/robots.txt wwwroot/site.webmanifest wwwroot/www/404.html wwwroot/www/cgi-bin/env.cgi wwwroot/www/cgi-bin/env.php wwwroot/www/cgi-bin/env.pl wwwroot/www/cgi-bin/env.py wwwroot/www/cgi-bin/env.rb wwwroot/www/cgi-bin/printenv wwwroot/www/cgi-bin/printenv.vbs wwwroot/www/cgi-bin/printenv.wsf wwwroot/www/cgi-bin/test-cgi wwwroot/www/css/bootstrap.css wwwroot/www/css/bootstrap.min.css wwwroot/www/css/bs.plain.css wwwroot/www/css/cookieconsent.css wwwroot/www/css/errorpages.css wwwroot/www/css/index.css wwwroot/www/favicon.ico wwwroot/www/health/health/index.json wwwroot/www/health/health/index.txt wwwroot/www/health/index.json wwwroot/www/health/index.txt wwwroot/www/images/403.png wwwroot/www/images/404.gif wwwroot/www/images/bg.png wwwroot/www/images/favicon.ico wwwroot/www/images/icon.png wwwroot/www/images/icon.svg wwwroot/www/index.php wwwroot/www/info.php wwwroot/www/js/app.js wwwroot/www/js/bootstrap.min.js wwwroot/www/js/errorpages/homepage.js wwwroot/www/js/errorpages/isup.js wwwroot/www/js/errorpages/loaddomain.js wwwroot/www/js/errorpages/scale.fix.js wwwroot/www/js/jquery/default.js wwwroot/www/js/passprotect.min.js wwwroot/www/robots.txt wwwroot/www/site.webmanifest
This commit is contained in:
9
configs/postgres/pg_hba.conf
Normal file
9
configs/postgres/pg_hba.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
# ===================================================
|
||||
# PostgreSQL Client Authentication Configuration File
|
||||
# ===================================================
|
||||
# TYPE DATABASE USER ADDRESS METHOD
|
||||
local all postgres peer
|
||||
local all all trust
|
||||
local all all md5
|
||||
host all all 0.0.0.0/0 md5
|
||||
host all all ::/0 md5
|
263
configs/postgres/postgresql.conf
Normal file
263
configs/postgres/postgresql.conf
Normal file
@@ -0,0 +1,263 @@
|
||||
# -----------------------------
|
||||
# CasjaysDev PostgreSQL configuration file
|
||||
# -----------------------------
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
# FILE LOCATIONS
|
||||
#------------------------------------------------------------------------------
|
||||
data_directory = 'REPLACE_DATABASE_DIR'
|
||||
#hba_file = 'ConfigDir/pg_hba.conf'
|
||||
#ident_file = 'ConfigDir/pg_ident.conf'
|
||||
#external_pid_file = ''
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CONNECTIONS AND AUTHENTICATION
|
||||
#------------------------------------------------------------------------------
|
||||
listen_addresses = '*'
|
||||
port = 5432
|
||||
max_connections = 100
|
||||
unix_socket_directories = '/var/run/postgresql, /tmp'
|
||||
#unix_socket_group = ''
|
||||
unix_socket_permissions = 0777
|
||||
#bonjour = off
|
||||
#bonjour_name = ''
|
||||
#authentication_timeout = 1min
|
||||
#password_encryption = on
|
||||
#db_user_namespace = off
|
||||
#krb_server_keyfile = ''
|
||||
#krb_srvname = 'postgres'
|
||||
#krb_caseins_users = off
|
||||
#tcp_keepalives_idle = 0
|
||||
#tcp_keepalives_interval = 0
|
||||
#tcp_keepalives_count = 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# SSL configuration
|
||||
#------------------------------------------------------------------------------
|
||||
ssl = off
|
||||
ssl_ca_file = '/etc/ssl/ca.crt'
|
||||
ssl_key_file = '/etc/ssl/localhost.key'
|
||||
ssl_cert_file = '/etc/ssl/localhost.crt'
|
||||
ssl_ciphers = 'HIGH:MEDIUM:+3DES:!aNULL' # allowed SSL ciphers
|
||||
ssl_prefer_server_ciphers = on
|
||||
ssl_ecdh_curve = 'prime256v1'
|
||||
ssl_min_protocol_version = 'TLSv1.2'
|
||||
#ssl_max_protocol_version = ''
|
||||
#ssl_dh_params_file = ''
|
||||
#ssl_passphrase_command = ''
|
||||
#ssl_passphrase_command_supports_reload = off
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# RESOURCE USAGE (except WAL)
|
||||
#------------------------------------------------------------------------------
|
||||
shared_buffers = 32MB
|
||||
#temp_buffers = 8MB
|
||||
#work_mem = 1MB
|
||||
#maintenance_work_mem = 16MB
|
||||
#max_stack_depth = 2MB
|
||||
#temp_file_limit = -1
|
||||
#max_files_per_process = 1000
|
||||
#shared_preload_libraries = ''
|
||||
#vacuum_cost_delay = 0ms
|
||||
#vacuum_cost_page_hit = 1
|
||||
#vacuum_cost_page_miss = 10
|
||||
#vacuum_cost_page_dirty = 20
|
||||
#vacuum_cost_limit = 200
|
||||
#bgwriter_delay = 200ms
|
||||
#bgwriter_lru_maxpages = 100
|
||||
#bgwriter_lru_multiplier = 2.0
|
||||
#effective_io_concurrency = 1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# WRITE AHEAD LOG
|
||||
#wal_level = minimal
|
||||
#fsync = on
|
||||
#synchronous_commit = on
|
||||
#wal_sync_method = fsync
|
||||
#full_page_writes = on
|
||||
#wal_buffers = -1
|
||||
#wal_writer_delay = 200ms
|
||||
#commit_delay = 0
|
||||
#commit_siblings = 5
|
||||
#checkpoint_segments = 3
|
||||
#checkpoint_timeout = 5min
|
||||
#checkpoint_completion_target = 0.5
|
||||
#checkpoint_warning = 30s
|
||||
#archive_mode = off
|
||||
#archive_command = ''
|
||||
#archive_timeout = 0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# REPLICATION
|
||||
#------------------------------------------------------------------------------
|
||||
#max_wal_senders = 0
|
||||
#wal_keep_segments = 0
|
||||
#replication_timeout = 60s
|
||||
#synchronous_standby_names = ''
|
||||
#vacuum_defer_cleanup_age = 0
|
||||
#hot_standby = off
|
||||
#max_standby_archive_delay = 30s
|
||||
#max_standby_streaming_delay = 30s
|
||||
#wal_receiver_status_interval = 10s
|
||||
#hot_standby_feedback = off
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# QUERY TUNING
|
||||
#------------------------------------------------------------------------------
|
||||
#enable_bitmapscan = on
|
||||
#enable_hashagg = on
|
||||
#enable_hashjoin = on
|
||||
#enable_indexscan = on
|
||||
#enable_indexonlyscan = on
|
||||
#enable_material = on
|
||||
#enable_mergejoin = on
|
||||
#enable_nestloop = on
|
||||
#enable_seqscan = on
|
||||
#enable_sort = on
|
||||
#enable_tidscan = on
|
||||
|
||||
#seq_page_cost = 1.0
|
||||
#random_page_cost = 4.0
|
||||
#cpu_tuple_cost = 0.01
|
||||
#cpu_index_tuple_cost = 0.005
|
||||
#cpu_operator_cost = 0.0025
|
||||
#effective_cache_size = 128MB
|
||||
#geqo = on
|
||||
#geqo_threshold = 12
|
||||
#geqo_effort = 5
|
||||
#geqo_pool_size = 0
|
||||
#geqo_generations = 0
|
||||
#geqo_selection_bias = 2.0
|
||||
#geqo_seed = 0.0
|
||||
#default_statistics_target = 100
|
||||
#constraint_exclusion = partition
|
||||
#cursor_tuple_fraction = 0.1
|
||||
#from_collapse_limit = 8
|
||||
#join_collapse_limit = 8
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ERROR REPORTING AND LOGGING
|
||||
#------------------------------------------------------------------------------
|
||||
log_destination = 'stderr'
|
||||
logging_collector = on
|
||||
log_directory = '/data/logs/postgres'
|
||||
log_filename = 'postgresql.log'
|
||||
#log_file_mode = 0600
|
||||
log_truncate_on_rotation = on
|
||||
log_rotation_age = 1d
|
||||
log_rotation_size = 0
|
||||
#syslog_facility = 'LOCAL0'
|
||||
#syslog_ident = 'postgres'
|
||||
#event_source = 'PostgreSQL'
|
||||
#client_min_messages = notice
|
||||
#log_min_messages = warning
|
||||
#log_min_error_statement = error
|
||||
#log_min_duration_statement = -1
|
||||
#debug_print_parse = off
|
||||
#debug_print_rewritten = off
|
||||
#debug_print_plan = off
|
||||
#debug_pretty_print = on
|
||||
#log_checkpoints = off
|
||||
#log_connections = off
|
||||
#log_disconnections = off
|
||||
#log_duration = off
|
||||
#log_error_verbosity = default
|
||||
#log_hostname = off
|
||||
#log_line_prefix = ''
|
||||
#log_lock_waits = off
|
||||
#log_statement = 'none'
|
||||
#log_temp_files = -1
|
||||
log_timezone = 'US/Eastern'
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# RUNTIME STATISTICS
|
||||
#------------------------------------------------------------------------------
|
||||
#track_activities = on
|
||||
#track_counts = on
|
||||
#track_io_timing = off
|
||||
#track_functions = none
|
||||
#track_activity_query_size = 1024
|
||||
#update_process_title = on
|
||||
#stats_temp_directory = 'pg_stat_tmp'
|
||||
#log_parser_stats = off
|
||||
#log_planner_stats = off
|
||||
#log_executor_stats = off
|
||||
#log_statement_stats = off
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# AUTOVACUUM PARAMETERS
|
||||
#------------------------------------------------------------------------------
|
||||
#autovacuum = on
|
||||
#log_autovacuum_min_duration = -1
|
||||
#autovacuum_max_workers = 3
|
||||
#autovacuum_naptime = 1min
|
||||
#autovacuum_vacuum_threshold = 50
|
||||
#autovacuum_analyze_threshold = 50
|
||||
#autovacuum_vacuum_scale_factor = 0.2
|
||||
#autovacuum_analyze_scale_factor = 0.1
|
||||
#autovacuum_freeze_max_age = 200000000
|
||||
#autovacuum_vacuum_cost_delay = 20ms
|
||||
#autovacuum_vacuum_cost_limit = -1
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CLIENT CONNECTION DEFAULTS
|
||||
#------------------------------------------------------------------------------
|
||||
#search_path = '"$user",public'
|
||||
#default_tablespace = ''
|
||||
#temp_tablespaces = ''
|
||||
#check_function_bodies = on
|
||||
#default_transaction_isolation = 'read committed'
|
||||
#default_transaction_read_only = off
|
||||
#default_transaction_deferrable = off
|
||||
#session_replication_role = 'origin'
|
||||
#statement_timeout = 0
|
||||
#vacuum_freeze_min_age = 50000000
|
||||
#vacuum_freeze_table_age = 150000000
|
||||
#bytea_output = 'hex'
|
||||
#xmlbinary = 'base64'
|
||||
#xmloption = 'content'
|
||||
#gin_fuzzy_search_limit = 0
|
||||
datestyle = 'iso, mdy'
|
||||
#intervalstyle = 'postgres'
|
||||
timezone = 'US/Eastern'
|
||||
#extra_float_digits = 0
|
||||
#client_encoding = sql_ascii
|
||||
lc_messages = 'en_US.UTF-8'
|
||||
lc_monetary = 'en_US.UTF-8'
|
||||
lc_numeric = 'en_US.UTF-8'
|
||||
lc_time = 'en_US.UTF-8'
|
||||
default_text_search_config = 'pg_catalog.english'
|
||||
#dynamic_library_path = '$libdir'
|
||||
#local_preload_libraries = ''
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# LOCK MANAGEMENT
|
||||
#------------------------------------------------------------------------------
|
||||
#deadlock_timeout = 1s
|
||||
#max_locks_per_transaction = 64
|
||||
#max_pred_locks_per_transaction = 64
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VERSION/PLATFORM COMPATIBILITY
|
||||
#------------------------------------------------------------------------------
|
||||
#array_nulls = on
|
||||
#backslash_quote = safe_encoding
|
||||
#default_with_oids = off
|
||||
#escape_string_warning = on
|
||||
#lo_compat_privileges = off
|
||||
#quote_all_identifiers = off
|
||||
#sql_inheritance = on
|
||||
#standard_conforming_strings = on
|
||||
#synchronize_seqscans = on
|
||||
#transform_null_equals = off
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ERROR HANDLING
|
||||
#------------------------------------------------------------------------------
|
||||
#exit_on_error = off
|
||||
#restart_after_crash = on
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# CUSTOMIZED OPTIONS
|
||||
#------------------------------------------------------------------------------
|
||||
# Add settings for extensions here
|
Reference in New Issue
Block a user