@@ -25,22 +25,113 @@ $ docker run --name anope -v /path/to/your/config:/anope/conf/ anope/anope
2525```
2626
2727
28- ## Generated configuration
28+ # Configuration
2929
3030This image provides various options to configure it by environment variables.
3131
32- Use the following environment variables to configure your container:
32+ ## Server Information
3333
3434| Available variables | Default value | Description |
3535| -------------------------| --------------------------------| --------------------------------------------|
3636| ` ANOPE_SERVICES_NAME ` | ` services.localhost.net ` | Name of the services. * Important for uplink* |
37+ | ` ANOPE_SERVICES_DESCRIPTION ` | ` Services for IRC Networks ` | Description of the services |
3738| ` ANOPE_SERVICES_VHOST ` | ` services.localhost.net ` | Host used by services pseudo clients |
39+
40+ ## Uplink Configuration
41+
42+ | Available variables | Default value | Description |
43+ | -------------------------| --------------------------------| --------------------------------------------|
3844| ` ANOPE_UPLINK_IP ` | no default | DNS name or IP of the uplink host |
3945| ` ANOPE_UPLINK_PORT ` | ` 7000 ` | Port used to connect to uplink host |
4046| ` ANOPE_UPLINK_PASSWORD ` | no default | Password used to authenticate against uplink|
47+ | ` ANOPE_UPLINK_PASSWORD_FILE ` | no default | File containing password used to authenticate against uplink|
48+ | ` ANOPE_UPLINK_IPV6 ` | ` no ` | Enable if Services should connect using IPv6|
49+ | ` ANOPE_UPLINK_SSL ` | ` no ` | Enable if Services should connect using SSL |
4150
51+ ## Network Information
52+
53+ | Available variables | Default value | Description |
54+ | -------------------------| --------------------------------| --------------------------------------------|
55+ | ` ANOPE_NETWORK_NAME ` | ` LocalNet ` | Name of the network |
56+ | ` ANOPE_NICKLEN ` | ` 31 ` | Maximum allowed nick length |
57+ | ` ANOPE_USERLEN ` | ` 10 ` | Maximum allowed ident length |
58+ | ` ANOPE_HOSTLEN ` | ` 64 ` | Maximum allowed hostname length |
59+ | ` ANOPE_CHANLEN ` | ` 32 ` | Maximum allowed channel length |
60+ | ` ANOPE_MODELISTSIZE ` | ` 100 ` | Maximum number of list modes settable |
4261
43- ## Database configuration
62+ ## Options
63+
64+ | Available variables | Default value | Description |
65+ | -------------------------| --------------------------------| --------------------------------------------|
66+ | ` ANOPE_CASEMAP ` | ` ascii ` | Case mapping used by services |
67+ | ` ANOPE_BADPASSLIMIT ` | ` 5 ` | Invalid password tries before kill |
68+ | ` ANOPE_BADPASSTIMEOUT ` | ` 1h ` | Time after which invalid passwords are forgotten|
69+ | ` ANOPE_UPDATETIMEOUT ` | ` 2m ` | Delay between automatic database updates |
70+ | ` ANOPE_EXPIRETIMEOUT ` | ` 30m ` | Delay between checks for expired nicks/chans|
71+ | ` ANOPE_READTIMEOUT ` | ` 5s ` | Timeout period for reading from the uplink |
72+ | ` ANOPE_TIMEOUTCHECK ` | ` 3s ` | Frequency at which the timeout list is checked|
73+ | ` ANOPE_RETRYWAIT ` | ` 60s ` | Wait time between connection retries |
74+ | ` ANOPE_HIDEPRIVILEGEDCOMMANDS ` | ` yes ` | Hide commands users can't execute |
75+ | ` ANOPE_HIDEREGISTEREDCOMMANDS ` | ` yes ` | Hide commands unregistered users can't execute|
76+ | ` ANOPE_DIDYOUMEANDIFFERENCE ` | ` 4 ` | Max difference for command suggestions |
77+ | ` ANOPE_CODELENGTH ` | ` 15 ` | Length of confirmation codes |
78+ | ` ANOPE_LINELENGTH ` | ` 100 ` | Max bytes to wrap services messages |
79+ | ` ANOPE_REGEXENGINE ` | ` regex/stdlib ` | Regex engine to use |
80+ | ` ANOPE_LANGUAGES ` | ` de_DE.UTF-8 ... ` | List of languages to load |
81+ | ` ANOPE_DEFAULTLANGUAGE ` | ` es_ES.UTF-8 ` | Default language for users |
82+
83+ ## Mail Configuration
84+
85+ | Available variables | Default value | Description |
86+ | -------------------------| --------------------------------| --------------------------------------------|
87+ | ` ANOPE_USEMAIL ` | ` no ` | Enable mail commands |
88+ | ` ANOPE_SENDMAILPATH ` | ` /usr/sbin/sendmail -t ` | Command used for sending emails |
89+ | ` ANOPE_SENDFROM ` | ` services@localhost.net ` | Email address to send from |
90+ | ` ANOPE_MAILDELAY ` | ` 5m ` | Minimum time between emails |
91+ | ` ANOPE_DONTQUOTEADDRESSES ` | ` yes ` | Don't quote TO: fields |
92+ | ` ANOPE_MAIL_CONTENT_TYPE ` | ` text/plain; charset=UTF-8 ` | Content type for emails |
93+ | ` ANOPE_MAIL_REGISTRATION_SUBJECT ` | ` Nickname registration for {nick} ` | Subject for registration emails|
94+ | ` ANOPE_MAIL_REGISTRATION_MESSAGE ` | no default | Message for registration emails |
95+ | ` ANOPE_MAIL_RESET_SUBJECT ` | ` Reset password request for {nick} ` | Subject for password reset emails |
96+ | ` ANOPE_MAIL_RESET_MESSAGE ` | no default | Message for password reset emails |
97+ | ` ANOPE_MAIL_EMAILCHANGE_SUBJECT ` | ` Email confirmation ` | Subject for email change emails |
98+ | ` ANOPE_MAIL_EMAILCHANGE_MESSAGE ` | no default | Message for email change emails |
99+ | ` ANOPE_MAIL_MEMO_SUBJECT ` | ` New memo ` | Subject for memo emails |
100+ | ` ANOPE_MAIL_MEMO_MESSAGE ` | no default | Message for memo emails |
101+
102+ ## Webcpanel Configuration
103+
104+ | Available variables | Default value | Description |
105+ | -------------------------| --------------------------------| --------------------------------------------|
106+ | ` ANOPE_WEBCPANEL_ENABLE ` | ` no ` | Enable webcpanel |
107+ | ` ANOPE_WEBCPANEL_TITLE ` | ` Anope IRC Services ` | Page title |
108+ | ` ANOPE_HTTPD_IP ` | ` 0.0.0.0 ` | IP to listen on |
109+ | ` ANOPE_HTTPD_PORT ` | ` 8080 ` | Port to listen on |
110+ | ` ANOPE_HTTPD_SSL ` | ` no ` | Listen using SSL |
111+
112+ ## Operators
113+
114+ You can configure up to 20 operators using indexed variables ` ANOPE_x_... ` where ` x ` is a number from 0 to 19.
115+
116+ | Available variables | Default value | Description |
117+ | -------------------------| --------------------------------| --------------------------------------------|
118+ | ` ANOPE_x_NAME ` | no default | Oper's Nickname (Required) |
119+ | ` ANOPE_x_TYPE ` | ` Services Root ` | Opertype |
120+ | ` ANOPE_x_REQUIRE_OPER ` | ` yes ` | Require the oper to be oper'd on the ircd |
121+ | ` ANOPE_x_PASSWORD ` | no default | Optional password for oper access |
122+ | ` ANOPE_x_PASSWORD_FILE ` | no default | File containing password for oper access |
123+ | ` ANOPE_x_CERTFP ` | no default | Secure Cert finger print for oper access |
124+ | ` ANOPE_x_HOST ` | no default | Space separated Hostmask(s) for this oper |
125+ | ` ANOPE_x_VHOST ` | no default | Oper Vhost |
126+
127+ Available ` ANOPE_x_TYPE ` values (from ` services.conf ` ):
128+ * ` Services Root ` (Default): Full access to all commands and privileges.
129+ * ` Services Administrator ` : Access to most administrative commands (BotServ, ChanServ, NickServ, OperServ, Global).
130+ * ` Services Operator ` : Access to basic operator commands (ChanServ, MemoServ, NickServ, OperServ).
131+ * ` Helper ` : Access to HostServ commands.
132+
133+
134+ ## Database Configuration
44135
45136This image provides two way to configure database handling. You can use sqlite inside a volume or an external mysqldb.
46137
@@ -67,7 +158,10 @@ For a production setup MySQL is the recommended way to set this image up. Checko
67158| ` ANOPE_MYSQL_PORT ` | ` 3306 ` | Port used to access the mysql database |
68159| ` ANOPE_MYSQL_USER ` | ` anope ` | Username for the MySQL database |
69160| ` ANOPE_MYSQL_PASSWORD ` | no default | Password for the ` ANOPE_MYSQL_USER ` |
161+ | ` ANOPE_MYSQL_PASSWORD_FILE ` | no default | File containing password for the ` ANOPE_MYSQL_USER ` |
70162| ` ANOPE_SQL_LIVE ` | ` no ` | Enable Anope SQL-DB live feature |
163+ | ` ANOPE_SQL_PREFIX ` | ` anope_db_ ` | Prefix for SQL tables |
164+ | ` ANOPE_SQL_IMPORT ` | ` false ` | Import data from another DB module on startup|
71165
72166
73167# Updates and updating
@@ -107,4 +201,3 @@ You can also reach many of the project maintainers via the `#anope` IRC channel
107201## Contributing
108202
109203You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
110-
0 commit comments