docker-compose.yml

Tatsuya Saito, 2020-07-12 23:20

Download (477 Bytes)

 
1
version: '3.1'
2

    
3
services:
4

    
5
  redmine:
6
    image: redmine
7
    restart: always
8
    ports:
9
      - 8080:3000
10
    environment:
11
      REDMINE_DB_MYSQL: db
12
      REDMINE_DB_ENCODING: utf8mb4
13
      REDMINE_DB_PASSWORD: example
14
      REDMINE_SECRET_KEY_BASE: supersecretkey
15

    
16
  db:
17
    image: mysql:5.7
18
    restart: always
19
    environment:
20
      MYSQL_ROOT_PASSWORD: example
21
      MYSQL_DATABASE: redmine
22
    command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_bin