前提・実現したいこと
既存のRedmine環境をDockerに移行する計画をしています。
既存のDBを使ってDockerで起動しようとしてますが
ブラウザからlocalhostへアクセスしてもなにも表示されません。
コンソール上には以下のメッセージが出ています。
エラー等はないように見えます。
発生している問題・エラーメッセージ
Initializing logdir... Initializing datadir... Symlinking dotfiles... Installing configuration templates... Configuring redmine... Configuring redmine::database Configuring redmine::unicorn... Configuring redmine::secret_token... Generating a session token... Note: All old sessions will become invalid. Please specify the REDMINE_SECRET_TOKEN parameter for persistence. **SHOULD** be defined if you have a load-balancing Redmine cluster. Configuring redmine::max_concurrent_ajax_uploads... Configuring redmine::sudo_mode... Configuring redmine::autologin_cookie... Configuring redmine::backups... Configuring nginx... Configuring nginx::redmine... Installing plugins... Installing themes... 2020-06-04 06:09:29,159 CRIT Supervisor running as root (no user in config file) 2020-06-04 06:09:29,159 WARN Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing 2020-06-04 06:09:29,159 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing 2020-06-04 06:09:29,159 WARN Included extra file "/etc/supervisor/conf.d/unicorn.conf" during parsing 2020-06-04 06:09:29,181 INFO RPC interface 'supervisor' initialized 2020-06-04 06:09:29,181 INFO supervisord started with pid 1 2020-06-04 06:09:30,186 INFO spawned: 'unicorn' with pid 218 2020-06-04 06:09:30,197 INFO spawned: 'cron' with pid 219 2020-06-04 06:09:30,201 INFO spawned: 'nginx' with pid 220 2020-06-04 06:09:31,785 INFO success: unicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2020-06-04 06:09:31,785 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2020-06-04 06:09:31,786 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
発行したコマンド
docker run --name=redmine -p 80:80 -it --rm --env=DB_ADAPTER=mysql2 --env=DB_HOST=XXX.rds.amazonaws.com --env=DB_NAME=redmine --env=DB_USER=hogehoge --env=DB_PASS=fugafuga --volume=/srv/docker/redmine/redmine:/home/redmine/data sameersbn/redmine:4.0.7
補足情報(FW/ツールのバージョンなど)
既存環境
Redmine:4.0.7(AWS上のEC2インスタンス)
DB:MySQL8 (AWS上のRDS)
移行環境
Image:sameersbn/Redmine:4.0.7(local)
DockerDesktop(2.3.0.3)
DB:MySQL8(AWS上のRDS)