Access PatchMon
- Apri il browser all'indirizzo:
http://<SERVER_IP>:3000 - Completa la procedura guidata di configurazione per creare il tuo account amministratore.
File e directory principali
- Application directory:
/root/patchmon/ - Compose file:
/root/patchmon/docker-compose.yml - Environment file:
/root/patchmon/.env - PostgreSQL data:
/var/lib/docker/volumes/patchmon_postgres_data/_data - Redis data:
/var/lib/docker/volumes/patchmon_redis_data/_data - Agent scripts:
/var/lib/docker/volumes/patchmon_agent_files/_data - Branding assets:
/var/lib/docker/volumes/patchmon_branding_assets/_data
Managing Services
Controlla i container in esecuzione:
docker ps
View logs:
docker compose -f /root/patchmon/docker-compose.yml logs -f
Riavvia tutti i container:
docker compose -f /root/patchmon/docker-compose.yml restart
Recreate containers:
docker compose -f /root/patchmon/docker-compose.yml up -d
Passaggio a HTTPS e dominio
1. Edit the .env file nella sezione REQUIRED:
SERVER_PROTOCOL=https
SERVER_HOST=patchmon.example.com
SERVER_PORT=443
CORS_ORIGIN=https://patchmon.example.com
2. Recreate containers:
cd /root/patchmon
docker compose up -d
3. Configura Nginx con i certificati SSL per il tuo dominio.
4. Restart Nginx:
systemctl restart nginx
5. Apri il browser all'indirizzo: https://patchmon.example.com