2017-06-21 12:23:11 +00:00
|
|
|
# odissey configuration file.
|
2016-11-07 13:25:12 +00:00
|
|
|
#
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-08-02 10:41:37 +00:00
|
|
|
# include "path"
|
|
|
|
|
2017-06-21 12:23:11 +00:00
|
|
|
# daemonize no
|
|
|
|
# pid_file "./odissey.pid"
|
2017-09-18 13:14:52 +00:00
|
|
|
|
|
|
|
log_format "text"
|
|
|
|
#log_file "./odissey.log"
|
|
|
|
log_to_stdout yes
|
|
|
|
log_syslog yes
|
|
|
|
log_syslog_ident "odissey"
|
|
|
|
log_syslog_facility "daemon"
|
|
|
|
log_debug yes
|
|
|
|
log_config yes
|
|
|
|
log_session yes
|
|
|
|
log_stats yes
|
|
|
|
|
|
|
|
stats_interval 3
|
|
|
|
nodelay yes
|
|
|
|
keepalive 7200
|
|
|
|
readahead 16384
|
|
|
|
pipelining 16384
|
|
|
|
client_max 100
|
|
|
|
workers 3
|
2017-06-02 13:49:20 +00:00
|
|
|
|
2017-07-13 12:58:32 +00:00
|
|
|
listen {
|
2017-06-21 12:23:11 +00:00
|
|
|
host "*"
|
|
|
|
port 6432
|
|
|
|
# backlog 16
|
2017-06-24 13:04:20 +00:00
|
|
|
tls "disable"
|
2017-06-21 12:23:11 +00:00
|
|
|
# tls_cert_file ""
|
|
|
|
# tls_key_file ""
|
|
|
|
# tls_ca_file ""
|
|
|
|
# tls_protocols ""
|
|
|
|
}
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-07-13 12:58:32 +00:00
|
|
|
storage "local" {
|
2017-06-24 14:59:28 +00:00
|
|
|
type "local"
|
|
|
|
}
|
|
|
|
|
2017-07-13 12:58:32 +00:00
|
|
|
storage "pg_server" {
|
2017-06-22 12:29:39 +00:00
|
|
|
type "remote"
|
2017-06-21 12:23:11 +00:00
|
|
|
host "127.0.0.1"
|
|
|
|
port 5432
|
2017-06-24 13:04:20 +00:00
|
|
|
tls "disable"
|
2017-06-21 12:23:11 +00:00
|
|
|
# tls_ca_file ""
|
|
|
|
# tls_key_file ""
|
|
|
|
# tls_cert_file ""
|
|
|
|
# tls_protocols ""
|
|
|
|
}
|
2016-11-07 12:06:49 +00:00
|
|
|
|
2017-07-13 12:58:32 +00:00
|
|
|
database "console" {
|
2017-07-03 14:32:48 +00:00
|
|
|
user default {
|
|
|
|
authentication "none"
|
2017-07-13 12:34:10 +00:00
|
|
|
pool "session"
|
2017-07-03 14:32:48 +00:00
|
|
|
storage "local"
|
|
|
|
}
|
2017-06-24 14:59:28 +00:00
|
|
|
}
|
|
|
|
|
2017-07-03 14:32:48 +00:00
|
|
|
database default
|
|
|
|
{
|
|
|
|
user default {
|
2017-07-04 12:12:07 +00:00
|
|
|
# none, block, clear_text, md5
|
2017-07-04 12:33:56 +00:00
|
|
|
authentication "none"
|
2017-07-03 14:32:48 +00:00
|
|
|
#password "test"
|
2017-07-03 10:56:47 +00:00
|
|
|
|
2017-07-03 14:32:48 +00:00
|
|
|
storage "pg_server"
|
|
|
|
#storage_user "test"
|
|
|
|
#storage_password "test"
|
|
|
|
#storage_db "database"
|
2017-07-03 11:33:03 +00:00
|
|
|
|
2017-07-03 14:32:48 +00:00
|
|
|
pool "transaction"
|
|
|
|
pool_size 100
|
|
|
|
pool_timeout 4000
|
|
|
|
pool_ttl 5
|
|
|
|
pool_cancel yes
|
|
|
|
pool_discard yes
|
|
|
|
pool_rollback yes
|
2017-07-03 11:33:03 +00:00
|
|
|
|
2017-09-12 13:45:04 +00:00
|
|
|
#client_fwd_error no
|
2017-07-03 14:32:48 +00:00
|
|
|
#client_max 100
|
2017-09-01 14:07:28 +00:00
|
|
|
#client_encoding "UTF8"
|
|
|
|
#datestyle "ISO"
|
|
|
|
#timezone "UTC"
|
2017-07-03 14:32:48 +00:00
|
|
|
}
|
2016-11-07 12:06:49 +00:00
|
|
|
}
|