ลด 50% ทุกแพ็กเกจ เวลาจำกัด เริ่มต้นที่ $2.48/mo
Redmine

Redmine

Redmine คือ open-source project tracker รองรับ issue, Gantt chart, wiki, การติดตามเวลา และการจัดการหลายโปรเจกต์พร้อมกัน เป็นแอป Ruby on Rails ภายใต้ลิขสิทธิ์ GPL พัฒนามาตั้งแต่ปี 2006 และถูกใช้งานที่ Mozilla, ทีม Ruby on Rails core team และองค์กรด้านวิศวกรรมซอฟต์แวร์กว่า 200,000 แห่ง

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

2 GB

IP Types

IPV4,IPV6

เข้าใช้งาน Web Interface

เข้าสู่เว็บอินเทอร์เฟซ: https://IP (replace IP ด้วย IP address ของเซิร์ฟเวอร์คุณ)

ยืนยันคำเตือน SSL (self-signed certificate)

เข้าสู่ระบบด้วย credentials เริ่มต้นของ Redmine:

  • Username: admin
  • Password: admin

เปลี่ยนรหัสผ่าน admin ทันทีหลังจากเข้าสู่ระบบครั้งแรก

ตั้งค่าการยืนยันตัวตน: AdministrationSettingsAuthentication (or directly: /settings?tab=authentication)

  • Authentication required
  • Self-registration

ไฟล์และไดเรกทอรีสำคัญ

  • Application installation: /root/redmine
  • ไฟล์ Docker Compose: /root/redmine/docker-compose.yml
  • Environment variables: /root/redmine/.env
  • Data volume ของ MySQL: /var/lib/docker/volumes/redmine_mysql_data/_data
  • ไฟล์แนบของ Redmine: /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
  • การตั้งค่าไซต์ Nginx: /etc/nginx/sites-available/redmine
  • SSL certificates: /etc/nginx/ssl/

Service Management

ตรวจสอบสถานะ container:

docker ps

Restart Redmine:

docker restart redmine

ดู log ของ Redmine:

docker logs -f redmine

ตรวจสอบสถานะ Nginx:

systemctl status nginx

Restart Nginx:

systemctl restart nginx

เปิดใช้งาน SSL พร้อมโดเมน

1. ชี้โดเมนของคุณไปที่ IP ของเซิร์ฟเวอร์

2. แก้ไขไฟล์คอนฟิก Nginx และแทนที่ทั้งสองส่วน server_name <IP>; ด้วยโดเมนของคุณ (<your-domain>) สำหรับทั้งบล็อก HTTP (port 80) และ HTTPS (port 443):

vim /etc/nginx/sites-available/redmine

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. รันคำสั่งต่อไปนี้เพื่อสร้างใบรับรอง Let's Encrypt ที่ถูกต้อง:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. แทนที่พาธ SSL ในไฟล์คอนฟิก 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. รีสตาร์ท Nginx เพื่อให้การเปลี่ยนแปลงมีผล:

systemctl restart nginx

7. เปิดเบราว์เซอร์และไปที่: https://yourdomain.com

เพิ่มเติมใน Development Tools

Related apps.

Deploy Redmine เลยตอนนี้ เริ่มต้นที่ $2.48/เดือน