8 Home
faycel edited this page 2026-02-26 22:40:46 +00:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Server Configuration Wiki

Overview

This wiki documents the secure configuration and operation of our production server infrastructure.

The goal of this infrastructure is to host the following core services:

  • Mattermost — internal team communication platform
  • Forgejo — self-hosted Git service
  • MinIO — S3-compatible object storage
  • PostgreSQL — relational database engine
  • Nginx — reverse proxy and TLS termination

All services are deployed using:

  • Ubuntu Server
  • Docker Engine
  • Docker Swarm
  • Overlay networks
  • Docker secrets
  • Lets Encrypt certificates (Certbot)
  • UFW firewall rules

Security and reproducibility are mandatory.

No application service is deployed before SSH hardening is completed.


Content

  1. Architecture Overview
  2. System Hardware
  3. Operating System
  4. SSH Hardening
  5. Docker Installation
  6. Docker Swarm Configuration
  7. Network Architecture
  8. Stacks Deployment
  9. Reverse Proxy
  10. Certbot & Let's Encrypt
  11. TURN Server (Coturn)
  12. PostgreSQL Configuration
  13. MinIO Configuration
  14. Forgejo Configuration
  15. Mattermost Configuration
  16. Backup and Recovery
  17. Security Checklist