diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..202d363 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +config.env +include.conf diff --git a/Dockerfile b/Dockerfile index e07fd72..9248dda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -204,7 +204,7 @@ RUN mkdir -p /etc/inspircd /var/lib/inspircd /etc/ssl/inspircd /var/log/inspircd ADD inspircd.conf /etc/inspircd -ADD include.conf /etc/inspircd +ADD include.default.conf /etc/inspircd/include.conf ADD GeoLite2-ASN.mmdb /etc/inspircd diff --git a/config.env.example b/config.env.example new file mode 100644 index 0000000..1362907 --- /dev/null +++ b/config.env.example @@ -0,0 +1,90 @@ +ADMIN_EMAIL="no-reply@netcrave.network" +SID="01A" +SERVER_NAME="irc.netcrave.network" +NETWORK_NAME="NetcraveIRC" +STS_HOST="irc.netcrave.network" +SASL_TARGET="service.netcrave.network" +ADMIN_PASSWORD="changeme" +COMMAND_RATE="128000" +FAKE_LAG="on" +HARD_SENDQ="1M" +MAX_CHANS="256" +PING_FREQ="64" +RECVQ="8K" +SOFT_SENDQ="8192" +COMMAND_RATE_THRESHOLD="128" +COMMAND_RATE_THRESHOLD_TIMEOUT="16" +USE_CONN_FLOOD="yes" +USE_DNSBL="yes" +USE_IDENT="no" +GLOBAL_MAX="32" +LOCAL_MAX="16" +MAX_CONN_WARN="yes" +DEFAULT_USER_MODES="+xWz" +PORT="6667" +RESOLVE_HOST_NAMES="yes" +USE_CONNECT_BAN="yes" +SSL_USER_MODES="+xWz" +SSL_PORT="6697" +AUTHENTICATED_USER_MODES="+xwWz" +SERVER_SSL_PORT="7000" +OPER_CHANNEL="#oper" +HTTP_ACL_PASSWORD="changeme" +HTTP_ACL_USERNAME="netcrave" +SERVICE_CHANNEL="#services" +HELP_CHANNEL="#help" +MAX_AWAY="256" +MAX_CHAN="31" +MAX_GECOS="256" +MAX_HOST="64" +MAX_IDENT="16" +MAX_KICK="256" +MAX_MODES="32" +MAX_NICK="31" +MAX_QUIT="256" +MAX_TOPIC="256" +ALLOW_MISMATCH="yes" +ALLOW_ZERO_LIMIT="yes" +ANNOUNCE_TS="yes" +CYCLE_HOST_TS="yes" +CYCLE_HOST_FROM_USER="no" +HOST_IN_TOPIC="yes" +INVITE_BYPASS_MODES="yes" +MODES_IN_LIST="yes" +NO_SNOTICE_STACK="yes" +PING_WARNING="8" +PREFIX_PART=""" +PREFIX_QUIT="QUIT: "" +SERVER_PING_FREQ="8" +SPLIT_WHOIS="no" +SUFFIX_PART=""" +SUFFIX_QUIT=""" +SYNTAX_HINTS="yes" +XLINE_MESSAGE="DEAUTHORIZED" +CLONES_ON_CONNECT="yes" +NET_BUFFER_SIZE="10240" +QUIET_BURSTS="yes" +SOFT_LIMIT="102400" +SO_MAX_CONN="1024" +TIME_SKIP_WARN="2s" +ROLE_PLAY_VHOST="rp.netcrave.network" +CUSTOM_VERSION="NetcraveIRC" +FLAT_LINKS="no" +GENERIC_OPER="yes" +HIDE_BANS="no" +HIDE_MODES="no" +HIDE_SPLITS="yes" +HIDE_ULINES="no" +MAX_TARGETS="16" +RESTRICT_BANNED_USERS="yes" +USER_STATS="Pu" +NET_ADMIN_VHOST="oper/admin.netcrave.network" +GLOBAL_OP_VHOST="oper/op.netcrave.network" +HOPM_VHOST="oper/hopm.netcrave.network" +HELPER_VHOST="oper/helper.netcrave.network" +SERVICES_ULINE="services.netcrave.network" +WS_ORIGIN_ALLOW="irc.netcrave.network" +DEFAULT_BLOCK_HOST_MASK="nothing" +LINK_RECV_PASSWORD="changeme" +LINK_SEND_PASSWORD="changeme" +LINK_TIMEOUT=32 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..82d420a --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + ircd: + build: . + network_mode: "host" + env_file: "config.env" diff --git a/include.conf b/include.default.conf similarity index 58% rename from include.conf rename to include.default.conf index 5d9af6a..14f151e 100644 --- a/include.conf +++ b/include.default.conf @@ -4,17 +4,6 @@ - -