Přístup
- Visit the web interface:
https://<IP>(replaceIPwith your server’s IP address) - Přijmout varování SSL (vlastnoručně podepsaný certifikát).
- Log in using credentials from
/root/.cloudzy-creds
Environment & Configuration
- Admin authentication is enabled using the
simpleprovider. - User definitions are stored in
/root/dozzle/data/users.yml - Passwords are stored as bcrypt hashes.
- User roles:
all,shell,actions,download,none(default:all). - Docker socket is mounted read/write:
/var/run/docker.sock
Adding a New User
1. Generate bcrypt user:
docker run -it --rm amir20/dozzle generate <username>
--password <password> --email <email> --name "<Full Name>"
--user-roles <roles> --user-filter "<filter>"
2. Backup users.yml:
cp /root/dozzle/data/users.yml /root/dozzle/data/users.yml.bak
3. Append only the user entry under the existing users: block in users.yml — do not repeat users.
4. Validate YAML syntax to ensure the file is correct.
Důležité soubory a adresáře
- Application installation:
/root/dozzle - Soubor Docker Compose:
/root/dozzle/docker-compose.yml - Dozzle user database:
/root/dozzle/data/users.yml - Stored credentials:
/root/.cloudzy-creds
Správa služeb
Seznam kontejnerů:
docker ps
Start or recreate services:
docker compose -f /root/dozzle/docker-compose.yml up -d
Restart Dozzle:
docker compose -f /root/dozzle/docker-compose.yml restart
Follow logs:
docker compose -f /root/dozzle/docker-compose.yml logs -f
Restartujte Nginx:
systemctl restart nginx
Povolení SSL s doménou
1. Nasměrujte svou doménu na IP adresu serveru.
2. Upravte konfiguraci Nginx a nahraďte oba server_name <IP>; s vaší doménou (<your-domain>) pro bloky HTTP (port 80) i HTTPS (port 443):
vim /etc/nginx/sites-available/dozzle
3. Nainstalujte Certbot:
apt install -y certbot python3-certbot-nginx
4. Spusťte následující příkaz a vygenerujte platný certifikát Let’s Encrypt:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Nahraďte cesty SSL v konfiguraci Nginx:
vim /etc/apache2/sites-available/dozzle
# Before:
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. Restartujte Nginx, aby se změny projevily:
systemctl restart nginx
7. Otevřete prohlížeč a přejděte na adresu: https://yourdomain.com