Revived this old project to run Citadel in a Docker container. It uses 'ctdlvisor...
[citadel-docker.git] / run-citadel.sh
1 #!/bin/bash
2
3 # This is a simple startup script to run Citadel in a Docker container.
4 # If you know your way around Docker, you don't have to use it; feel free to do whatever you want.
5 # The container expects a persistent volume called "citadel-data" in which it will keep everything.
6 # The remainder of the container is ephermal and can be deleted at any time.
7
8 docker run \
9         --name citadel \
10         -it \
11         --rm \
12         -p 25:25 \
13         -p 80:80 \
14         -p 110:110 \
15         -p 119:119 \
16         -p 143:143 \
17         -p 443:443 \
18         -p 465:465 \
19         -p 504:504 \
20         -p 563:563 \
21         -p 587:587 \
22         -p 993:993 \
23         -p 995:995 \
24         -p 5222:5222 \
25         --mount type=bind,source=/root/citadel/citadel,target=/citadel-data \
26         $*