Git Product home page Git Product logo

docker-citadel's Introduction

docker-citadel

Home of citadel: http://citadel.org

Citadel as a Docker Image. Citadel is build using easyinstall method. Setup has not been run to configure the installation.

Supervisord (http://supervisord.org) is used to monitor the citadel/webcit programs. It stops the container if citadel/webcit fails or exits.

Usage

docker run  -d --name citadel -p "25:25" -p "80:80" -p "143:143"  -p "465:465" -p "587:587" -p "993:993"

For data persistence I recommended using a volume for the the data folder (database).

docker run  -d --name citadel -p "25:25" -p "80:80" -p "143:143"  -p "465:465" -p "587:587" -p "993:993" --mount 'type=volume,src=citadel-data,dst=/usr/local/citadel/data'

With a network in case you are linking the container with a clamav and spamassassin container:

docker run  -d --name citadel -p "25:25" -p "80:80" -p "143:143"  -p "465:465" -p "587:587" -p "993:993" --mount 'type=volume,src=citadel-data,dst=/usr/local/citadel/data' --network citadel-network

However it is recommended to use docker compose. See examples folder for an example docker-compose.yml file. Next step is configuring citadel for first time usage.

Configuration

After starting the container for the first time, you must run setup once to configure citadel.

docker exec -it citadel bash  (where citadel is the name of the container)

/usr/local/citadel/setup

supervisorctl restart all

Previous command will stop the container. Now start the container again. docker container start --name citadel

NOTE: If you create a new container and re-use the data volumes, then you do not have to run setup. As all configuration resides in the database, the container will immediately be up and running with all your configuration and data retained. The only exceptions are the files related to BBS functionality. See data files section in http://citadel.org/doku.php?id=documentation:file_layout#files.and.where.easy.install.and.lhfs.rpm.deb.installs.put.them for more info. If you use this BBS functionality you could create volumes for these folders as well.

Tags

  • latest = should be latest release tag, but can be experimental. Please do not use latest.
  • release-v928
  • release-v927
  • release-v925

docker-citadel's People

Contributors

diman0 avatar

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.