0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Redmine3 -> 4にアップグレード (sqlite3使用)

Last updated at Posted at 2019-02-14

docker-compose

docker-compose.yml(従来)
redmine3:
  image: redmine:3
  restart: always
  volumes:
    - ./sqlite:/usr/src/redmine/sqlite
    - ./files:/usr/src/redmine/files
  ports:
    - 3000:3000
docker-compose.yml(今回)
redmine4:
  image: redmine:4.0.1
  restart: always
  volumes:
    - ./sqlite:/usr/src/redmine/sqlite
    - ./files:/usr/src/redmine/files
  ports:
    - 3000:3000

パーミッション修正

chown -R 999:999 sqlite files

書き込みはできるようになった。
(コンテナ内のrubyがid:gid=999:999 で動作するようになった。)

起動
docker-compose up -d
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?