Giter Site home page Giter Site logo

anope-docker's Introduction

About

Anope is an open source set of IRC services. It is highly modular, with a vast number of configurable parameters, and is the most used IRC services package. There are also many modules on the modsite to add additional features. It runs on Linux, BSD, and Windows, and supports many modern IRCds, including InspIRCd, UnrealIRCd, and ircd-hybrid. For more details, credits, command line options, and contact information see docs/README.

Installation

Linux/BSD

Download the latest release off of the releases page.

$ ./Config
$ cd build
$ make
$ make install

Now change to the directory where you installed Anope to, e.g. $ cd ~/anope/

Windows

Download the latest release off of the releases page and run the installer.

Configuration

Copy conf/anope.example.conf to conf/anope.conf

$ cp conf/anope.example.conf conf/anope.conf

Edit anope.conf, configuring the uplink, serverinfo, and protocol module configurations. Example link blocks for popular IRCds are included in the anope.example.conf documentation. The Anope wiki is also a good source of information. Our support channel is located at #anope on irc.anope.org.

Note that the example configuration file includes other example configuration files. If you want to modify the other example configuration files, copy them (e.g. modules.example.conf to modules.conf) and modify the include directive in anope.conf to include the new file.

Running

Run $ ./bin/anope to start Anope. If asked to provide logs for support, use the --support flag, e.g.: $ ./bin/anope --support

Installing extra modules

Extra modules, which are usually modules which require extra libraries to use, such as m_mysql, can be enabled with the ./extras command from the source directory. Then re-run Config, make and make install again. Third party modules can be installed by placing them into the modules/third directory.

anope-docker's People

Contributors

adam- avatar dependabot[bot] avatar kaitlinsm avatar landergate avatar sadiecat avatar sisheogorath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anope-docker's Issues

libmariadb.so.3 can't be loaded

[Apr 22 05:14:54 2020] Error loading shared library libmariadb.so.3: No such file or directory (needed by lib/modules/m_mysql.so)

I'm a complete Docker newb, and I don't know how I could fix this - I can see the mariadb client libs in the dockerfile so i don't know where to start with debug

Provide default configs

We should add a few default configs to provide some core functionalities like basic NickServ, ChanServ and OperServ. Also generating the upstream settings and add the service oper user

Configuration not copied on container run

When I try to run a container of the anope/anope image, the services don't start because the /anope/conf folder remained empty. This happened both when I ran the container without any arguments, as well as when I bound /anope/conf and /data to directories on my server, which are owned by user 10000.

The logs read:

[Sep 08 13:28:22 2019] Using configuration file conf/services.conf
[Sep 08 13:28:22 2019] File conf/services.conf could not be opened.
[Sep 08 13:28:22 2019] *** Support resources: Read through the services.conf self-contained
[Sep 08 13:28:22 2019] *** documentation. Read the documentation files found in the 'docs'
[Sep 08 13:28:22 2019] *** folder. Visit our portal located at http://www.anope.org/. Join
[Sep 08 13:28:22 2019] *** our support channel on /server irc.anope.org channel #anope.
[Sep 08 13:28:22 2019] Configuration file failed to validate```

Is SSL possible?/Connection lost with SSL

I am trying to configure Anope in combination with the InspIRCd docker.
First Anope successfully connects to the uplink and afterwards directly loses the connection.
With the message that m_spanningtree.so needs to be enabled or SSL has to be configured.

The config site for InspIRCd says "usually" it doesn't work but is it possible with this Anope docker to connect with SSL?

m_spannigtree.so is enabled and as far as I can see SSL is configured (Unless I misread something)
Either way here are my docker runs:

docker run -d
--name InspIRCd01
--hostname inspircd
--memory=256M
--memory-swap=384M
--restart=always
-p 6697:6697
-p 7001:7001
-e INSP_NET_SUFFIX=.example.org
-e INSP_NET_NAME=Omega
-e INSP_ADMIN_NAME=test
-e INSP_ADMIN_NICK=test
-e INSP_ADMIN_EMAIL=[email protected]
-e INSP_OPER_NAME=God
-e INSP_OPER_HOST=@
-e INSP_OPER_HASH=hmac-sha256
-e INSP_OPER_PASSWORD_HASH='something'
-e INSP_OPER_SSONLY=yes
-e INSP_ENABLE_DNSBL=yes
-e INSP_SERVICES_NAME=services.example.org
-e INSP_SERVICES_IPADDR=Anope01
-e INSP_SERVICES_TLS_ON=yes
-e INSP_SERVICES_SENDPASS='topsecret'
-e INSP_SERVICES_RECVPASS='topsecret'
-e INSP_SERVICES_ALLOWMASK=192.168.1.0/24
-v /docker/apps/inspircd:/inspircd/conf/
inspircd/inspircd-docker

docker run -d
--name Anope01
--hostname Anope01
--memory=256M
--memory-swap=384M
--restart=always
-v /docker/apps/anope:/data
-e ANOPE_UPLINK_PORT=7001
-e ANOPE_SQL_ENGINE=mysql
-e ANOPE_MYSQL_DB=anope
-e ANOPE_MYSQL_HOST=192.168.1.10
-e ANOPE_MYSQL_PORT=3306
-e ANOPE_MYSQL_USER=anope
-e ANOPE_MYSQL_PASSWORD='anope'
-e ANOPE_SERVICES_NAME=services.example.org
-e ANOPE_SERVICES_VHOST=services.example.org
-e ANOPE_UPLINK_IP=inspircd.example.org
-e ANOPE_UPLINK_PASSWORD='topsecret'
anope/anope

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.