MattermostをDockerで起動する
はじめに
slack的なチャットツール のオフラインでも動くやつ
docker-composeがあったので簡単に起動できる
- 注意点1
free版は以下のようにeditionを指定する必要がある。
Choose Edition to Install
If you want to install Enterprise Edition, you can skip this section.
To install the team edition, comment out the two following lines in docker-compose.yaml file:
args: - edition=team
- 注意点2
docker-compose up
でerrorになった。
RROR: for mattermost-docker_web_1 Cannot start service web: b'Mounts denied: \r\nThe path /etc/localtime\r\nis not shared from OS X and is notStarting mattermost-docker_app_1 ... error
Time Zoneの指定がダメみたい。
Dockerで指定する方法は2つあるようで、下記の記述はできなく?なったらしい。
volumes: - /etc/localtime:/etc/localtime:ro
これをコメントアウトして、environmentに記述するやり方でdocker-compose upできた。
environment: - "TZ=Asia/Tokyo"
おわり