This guide uses Docker Compose to run Citadel.
For Docker installation, see Docker.
mkdir -p /opt/citadel
cd /opt/citadel
Create a docker-compose.yml file with the following content:
version: '3'
services:
citadel:
image: citadeldotorg/citadel:latest
container_name: citadel
restart: unless-stopped
ports:
- "8080:8080"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "995:995"
volumes:
- citadel_data:/var/lib/citadel
environment:
- CITADEL_HOSTNAME=citadel.example.com
volumes:
citadel_data:
docker compose up -d
Any questions?
Feel free to contact us. Find all contact information on our contact page.