Complete gids voor het installeren van ASD-PMA.
flowchart TB
subgraph Hardware["Hardware Vereisten"]
CPU[CPU: 4+ cores]
RAM[RAM: 16GB minimum]
DISK[Disk: 100GB SSD]
end
subgraph Software["Software Vereisten"]
OS[Ubuntu 22.04 LTS]
DOCKER[Docker 24+]
COMPOSE[Docker Compose v2]
GIT[Git 2.x]
end
subgraph Network["Network Vereisten"]
PORTS[Poorten: 80, 443, 9100-9300]
DNS[DNS of /etc/hosts]
INTERNET[Internet toegang]
end
style Hardware fill:#e3f2fd
style Software fill:#f3e5f5
style Network fill:#e8f5e9
| Component |
Minimum |
Aanbevolen |
Enterprise |
| CPU |
4 cores |
8 cores |
16+ cores |
| RAM |
16 GB |
32 GB |
64+ GB |
| Disk |
100 GB SSD |
250 GB NVMe |
500+ GB NVMe |
| Network |
100 Mbps |
1 Gbps |
10 Gbps |
| Software |
Versie |
Verificatie |
| OS |
Ubuntu 22.04 LTS |
lsb_release -a |
| Docker |
24.0+ |
docker --version |
| Docker Compose |
v2.20+ |
docker compose version |
| Git |
2.x |
git --version |
| Just |
1.x |
just --version |
| Bun |
1.x |
bun --version |
sudo apt update && sudo apt upgrade -y
# Docker installeren
curl -fsSL https://get.docker.com | sh
# Gebruiker toevoegen aan docker groep
sudo usermod -aG docker $USER
# Opnieuw inloggen of:
newgrp docker
# Via prebuilt binary
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
curl -fsSL https://bun.sh/install | bash
# Clone repository
git clone https://github.com/asd/pma.git ~/asd-pma
cd ~/asd-pma
# Dependencies installeren
bun install
# Kopieer example config
cp .env.example .env
# Edit configuratie
nano .env
| Variable |
Beschrijving |
Voorbeeld |
ASD_DOMAIN |
Hoofd domein |
pma.example.com |
ASD_IP |
Server IP |
192.168.1.100 |
ASD_TENANT |
Tenant naam |
default |
AUTHENTIK_SECRET_KEY |
Authentik secret |
<random 50 chars> |
POSTGRES_PASSWORD |
Database wachtwoord |
<secure password> |
# Genereer veilige wachtwoorden
just generate password 50 # Voor AUTHENTIK_SECRET_KEY
just generate password 32 # Voor database passwords
# Start core services (database, authentik)
just start core
# Wacht tot alles healthy is
just health --wait
# Start belangrijkste services
just start redmine
just start mattermost
just start n8n
# Of alles in een keer
just start all
- Open Authentik:
http://localhost:9101
- Volg initial setup wizard
- Maak admin account aan
# Configureer SSO voor services
just sso-add redmine
just sso-add mattermost
just sso-add n8n
# Bekijk default credentials
just info redmine
just info mattermost
# Voer complete health check uit
just health --diagnose
# Verwachte output:
# [OK] asd-authentik: healthy
# [OK] asd-redmine: healthy
# [OK] asd-mattermost: healthy
# [OK] asd-n8n: healthy
# Bekijk alle services
just status
# Of specifieke service
just status redmine
| Check |
Command |
Verwacht |
| Docker running |
docker info |
No errors |
| Containers up |
just status |
All green |
| Health OK |
just health |
All OK |
| Web toegang |
Browser test |
Login pagina |
| SSO werkt |
Login via Authentik |
Redirect OK |
# Bekijk logs
just logs SERVICE
# Check resources
just health --resources
# Vind proces op poort
sudo lsof -i :PORT
# Of gebruik alternatieve poort in .env
# Check database status
just status postgres
# Test connectie
just health --diagnose
# Bekijk memory usage
docker stats
# Verhoog swap indien nodig
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
- Quick Start - Eerste project opzetten
- SSO Configuratie - Single Sign-On instellen
- Backup Setup - Backups configureren