Van nul naar operationeel in 15 minuten
| Component | Minimum | Aanbevolen |
|---|---|---|
| CPU | 4 cores | 8 cores |
| RAM | 8 GB | 16 GB |
| Disk | 50 GB SSD | 100 GB SSD |
| OS | Ubuntu 20.04+ / Debian 11+ | Ubuntu 22.04 LTS |
# Docker & Docker Compose
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
# Just (task runner)
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash
# Git
sudo apt install git -y
# Clone de repository
git clone https://github.com/asd-framework/asd-pma.git
cd asd-pma
# Bootstrap installeert alle dependencies inclusief asd binary
just pma-bootstrap
# Kopieer de template
cp .env.example .env
# Bewerk de configuratie
nano .env
# Domain configuratie
DOMAIN=example.com
SUBDOMAIN_PREFIX=asd
# Database wachtwoorden (genereer sterke wachtwoorden!)
POSTGRES_PASSWORD=your-secure-password
MARIADB_ROOT_PASSWORD=your-secure-password
# Service poorten (standaard is prima)
ZAMMAD_PORT=8080
REDMINE_PORT=3000
ERPNEXT_PORT=8000
MATTERMOST_PORT=8065
SUPERSET_PORT=8088
N8N_PORT=5678
# Start alle services
just up
# Of specifieke services
just up zammad redmine mattermost
# Eerste admin account aanmaken
docker exec -it asd-zammad rails r "User.create!(
login: 'admin@example.com',
firstname: 'Admin',
lastname: 'User',
email: 'admin@example.com',
password: 'your-password',
active: true,
roles: Role.where(name: 'Admin')
)"
Open: https://zammad.example.com
Open: https://redmine.example.com
Default credentials:
adminadminBelangrijk: Wijzig het wachtwoord direct!
# Setup wizard starten
docker exec -it asd-erpnext-backend bench new-site site1.local \
--admin-password 'your-password' \
--mariadb-root-password 'your-db-password'
Open: https://erpnext.example.com
Open: https://mattermost.example.com
Volg de setup wizard voor:
# Admin user aanmaken
docker exec -it asd-superset superset fab create-admin \
--username admin \
--firstname Admin \
--lastname User \
--email admin@example.com \
--password your-password
Open: https://superset.example.com
# Core workflows importeren
for wf in src/n8n/workflows/core/*.json; do
curl -X POST "https://n8n.example.com/webhook/import-etl" \
-H "Content-Type: application/json" \
-d @"$wf"
done
# Workflows activeren
just n8n-activate-all
| Database | SQLAlchemy URI |
|---|---|
| Zammad | postgresql://user:pass@asd-postgres:5432/zammad_production |
| Redmine | postgresql://user:pass@asd-postgres:5432/redmine |
| ERPNext | mysql://user:pass@asd-mariadb:3306/erpnext_site |
# Check alle services
just health-check
Expected output:
✅ PostgreSQL: healthy
✅ MariaDB: healthy
✅ Redis: healthy
✅ Zammad: healthy
✅ Redmine: healthy
✅ ERPNext: healthy
✅ Mattermost: healthy
✅ Superset: healthy
✅ n8n: healthy
# Check logs
docker logs asd-{service-name}
# Restart service
docker compose restart {service-name}
# Rebuild indien nodig
docker compose up -d --build {service-name}
# Check database status
docker exec asd-postgres pg_isready -U postgres
# Check MariaDB
docker exec asd-mariadb mysqladmin ping -p
# Check resource usage
docker stats
# Increase swap if needed
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
# Status overzicht
just status
# Logs bekijken
just logs {service}
# Service herstarten
just restart {service}
# Backup maken
just backup
# Alles stoppen
just down
# Alles verwijderen (voorzichtig!)
just destroy