--Using Docker --Use Let ’s Encrypt (https-portal) for https conversion --Redmine version is the latest version (4.1.1) --Using MySQL
docker-compose.yml
version: '3'
services:
  redmine:
    image: redmine:4.1.1
    restart: always
    container_name: redmine_container
    environment:
      REDMINE_DB_MYSQL: mysql
      REDMINE_DB_DATABASE: redmine
      REDMINE_DB_USERNAME: redmine
      REDMINE_DB_PASSWORD: redmine
      REDMINE_DB_ENCODING: utf8mb4
      VIRTUAL_HOST: <Domain name you want to set>
    expose:
      - 3000
    volumes:
      - ./redmine/files:/usr/src/redmine/files
      - ./redmine/log:/usr/src/redmine/log
      - ./redmine/plugins:/usr/src/redmine/plugins
      - ./redmine/public/themes:/usr/src/redmine/public/themes
    depends_on:
      - mysql
  mysql:
    image: mysql:5.7
    container_name: mysql
    restart: always
    environment:
      TZ: Asia/Tokyo
      MYSQL_ROOT_PASSWORD: redmine
      MYSQL_DATABASE: redmine
      MYSQL_USER: redmine
      MYSQL_PASSWORD: redmine
    volumes:
      - ./mysql-data:/var/lib/mysql
    command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
  https-portal:
    image: steveltn/https-portal:latest
    ports:
      - '80:80'
      - '443:443'
    links:
      - redmine
    restart: always
    environment:
      DOMAINS: '<Domain name you want to set> -> http://redmine_container:3000'
      STAGE: 'production'
      #FORCE_RENEW: 'true'
    volumes:
      - ./certs:/var/lib/https-portal
--You can easily set the acquisition of SSL certificate using Let ’s Encrypt.
STAGE --production ... go get an SSL certificate --local ... Set my certificate
FORCE_RENEW --Basically not used --Forcibly issue a certificate --Note that Let ’s Encrypt has restrictions.
volumes
--Set / var / lib / https-portal on the volume to persist the certificate
--The sample docker-compose.yml plugin directory is ./redmine/plugins
$ RAILS_ENV=production bundle exec rake redmine:plugins:migrate
--Refer to the following article for setting examples -De-BackLogs Scrum Development (Ubuntu18.04 + sameersbn / Redmine3.4.6 + Scrum)
--Official installation procedure - redmine-plugin-scrum wiki
--The sample docker-compose.yml plugin directory is ./redmine/plugins
$ bundle install --without development test --no-deployment
$ bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production
--Official installation procedure - Installing Agile plugin on Linux

Recommended Posts