summarylogtreecommitdiffstats
path: root/config
blob: f9b7170d9ecce07afde36aac0ab5adb23d883606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
%% This is a sample config file for Zotonic.
%%
%% The configurations are for the Zotonic system itself.
%% Site configuration is found in each site's config file.
%% The site config files are in the subdirectories of priv/sites/.
%%
%% To use this configuration file:
%% 1. Make sure Zotonic is NOT running
%% 2. Copy this file to "config" (in this "priv" directory)
%% 3. Change (and uncomment) any setting you want to modify
%% 4. Start Zotonic.
%% 5. Check if Zotonic is using your new settings.
%%    - When not then you have made a configuration error, start Zotonic
%%      in debug mode with "./start.sh" or "zotonic.sh debug" 
%%
%%
%% Zotonic will rewrite the file when settings are changed by Zotonic.
%% Zotonic will ensure that there is a 'password' entry, adding it when necessary.
%%
%% Rarely used configurations are commented out, change at your own risk.
%% The given values are the defaults for the options.
%%
%% Be careful with the comma after each option, exclude it after the last option.

[

 %% PostgeSQL database defaults.
 %% These are the defaults for the equally named options in your site's config file.
 {dbschema,"public"},
 {dbpassword,[]},
 {dbuser,"zotonic"},
 {dbport,5432},
 {dbhost,"localhost"},

 %% IP address Zotonic will listen on for HTTP requests
 %% Always overruled by the environment variable ZOTONIC_IP
 %% Use 'any' for all IP addresses
 {listen_ip,any},
 
 %% Port Zotonic will listen on for HTTP requests.
 %% Always overruled by the environment variable ZOTONIC_PORT
 {listen_port,8000},

 %% SMTP outbound relay configuration
 % {smtp_relay, true},
 % {smtp_host, "localhost"},
 % {smtp_port, 2525},
 % {smtp_ssl, true},

 %% SMTP extra relay options:
 %% some picky/buggy/misconfigured relays might need one of these to be enabled
 % {smtp_no_mx_lookups, false},
 % {smtp_verp_as_from, false},
 % {smtp_bounce_email_override, "me@example.com"},

 %% SMTP mail queue
 %% How long to keep sent messages in the mail queue (in minutes)
 %% Leave it long enough to receive any bounce message
 % {smtp_delete_sent_after, 240},

 %% SMTP debug options
 %% Send a copy of outgoing mail to this address
 % {smtp_bcc, "bcc@localhost"},
 %% Send all mail to this address instead of the original recipient
 % {email_override, "override@localhost"},

 %% SMTP Inbound Server Options 
 %% Always overruled by the environment variables ZOTONIC_SMTP_LISTEN_DOMAIN, ZOTONIC_SMTP_LISTEN_IP and ZOTONIC_SMTP_LISTEN_PORT
 % {smtp_listen_domain, undefined},
 % {smtp_listen_ip, "127.0.0.1"},
 % {smtp_listen_port, 2525},

 %% Password for the sites administration site (zotonic_status)
 %% Zotonic will generate a secure password for you, so you don't need to enable this.  
 %% When you enable this you MUST select a secure password!!!
 % {password, ""},
 
 %% inet request backlog, enlarge when requests are dropped
 % {inet_backlog,500},
 
 %% Directory where log files are written
 % {log_dir,"priv/log"},
 {log_dir,"/var/log/zotonic"},

 %% Enable performance logging (in addition to request logging)
 % {enable_perf_logger, true},

 %% Webmachine error handler, you can use your own.
 % {webmachine_error_handler,z_webmachine_error_handler},

 %% Default ImageMagick color space. Some ImageMagick versions (like 6.7.0 and above) use the RGB colorspace, so all images are darker then the original. <br />Possible Values: CMY, CMYK, Grey, HCL, HSB, HSL, HWB, Lab, LCH, LMS, Log, Luv, OHTA, Rec601Luma, Rec601YCbCr, Rec709Luma, Rec709YCbCr, RGB, sRGB, Transparent, XYZ, YCbCr, YCC, YIQ, YCbCr, YUV
 % {default_colorspace, "sRGB"},

 % Date this file was created/updated
 {modify_date, {{2010,7,12},{12,28,30}}}
].