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
|
|
|
|
# syslog no
|
|
|
|
# syslog_facility "daemon"
|
|
|
|
# syslog_ident "odissey"
|
|
|
|
# pid_file "./odissey.pid"
|
|
|
|
# log_file "./odissey.log"
|
2017-07-27 13:22:43 +00:00
|
|
|
log_format "text"
|
2017-07-28 13:23:05 +00:00
|
|
|
log_to_stdout yes
|
2017-06-21 13:31:51 +00:00
|
|
|
log_debug yes
|
2017-07-27 11:35:19 +00:00
|
|
|
log_config yes
|
2017-06-28 10:58:21 +00:00
|
|
|
log_session yes
|
2017-08-11 14:11:44 +00:00
|
|
|
log_stats yes
|
|
|
|
stats_interval 3
|
2017-08-29 14:43:41 +00:00
|
|
|
nodelay yes
|
|
|
|
keepalive 7200
|
2017-09-04 13:48:27 +00:00
|
|
|
readahead 16384
|
2017-06-21 13:04:00 +00:00
|
|
|
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-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
|
|
|
}
|