--Utilisation de Docker --Utilisez Let 's Encrypt (portail https) pour la conversion https --La version Redmine est la dernière version (4.1.1) --Utilisation de 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: <Nom de domaine que vous souhaitez définir>
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: '<Nom de domaine que vous souhaitez définir> -> http://redmine_container:3000'
STAGE: 'production'
#FORCE_RENEW: 'true'
volumes:
- ./certs:/var/lib/https-portal
STAGE --production ... Allez obtenir un certificat SSL --local ... Configurer mon certificat
FORCE_RENEW
volumes
--Définissez / var / lib / https-portal
sur le volume pour conserver le certificat
. / Redmine / plugins
$ RAILS_ENV=production bundle exec rake redmine:plugins:migrate
--Procédure d'installation officielle - redmine-plugin-scrum wiki
. / Redmine / plugins
$ bundle install --without development test --no-deployment
$ bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production
--Procédure d'installation officielle - Installing Agile plugin on Linux
Recommended Posts