Redmine

A flexible project management web application.

Přístup k webovému rozhraní

Visit the web interface: https://IP (replace IP with your server’s IP address)

Přijmout varování SSL (vlastnoručně podepsaný certifikát).

Login using the default Redmine credentials:

  • Uživatelské jméno: admin
  • Heslo: admin

Immediately change the admin password after first login.

Configure authentication settings: AdministrationSettingsAuthentication (or directly: /settings?tab=authentication)

  • Authentication required
  • Self-registration

Důležité soubory a adresáře

  • Application installation: /root/redmine
  • Soubor Docker Compose: /root/redmine/docker-compose.yml
  • Proměnné prostředí: /root/redmine/.env
  • MySQL data volume: /var/lib/docker/volumes/redmine_mysql_data/_data
  • Redmine attachments (files): /var/lib/docker/volumes/redmine_redmine-data/_data
  • Redmine plugins: /var/lib/docker/volumes/redmine_redmine-plugins/_data
  • Redmine themes: /var/lib/docker/volumes/redmine_redmine-themes/_data
  • Konfigurace webu Nginx: /etc/nginx/sites-available/redmine
  • SSL certifikáty: /etc/nginx/ssl/

Správa služeb

Zkontrolujte stav kontejneru:

docker ps

Restart Redmine:

docker restart redmine

View Redmine logs:

docker logs -f redmine

Check Nginx status:

systemctl status nginx

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/redmine

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/redmine
# 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

Podrobnosti o aplikaci