LoginSignup
10
8

More than 5 years have passed since last update.

Mastodonの単一Dockerイメージ作った

Last updated at Posted at 2017-04-17

(https://instantodon.arukascloud.io で動かしてましたが今は止まってます)

arukas cloudだと一つのDockerイメージしか使えないので、単一イメージ作りました。脱docker-compose。
(とはいえarukas cloudで本格的な運用は推奨しません)

見て貰えばわかるけどMastodonイメージをベースに愚直にredisとpostgresqlを起動するようにしただけ。
Railsも直に80にbindしてます。

環境変数さえ適切に設定すれば動くはず。
.env.production.sampleにある項目が必要な変数です。

シークレットの三つは
ruby -r 'securerandom' -e 'puts SecureRandom.hex(64)'

でそれなりに安全なのができるんじゃないかと。

メールは先日書いたGmailが楽。
http://qiita.com/ymmtmdk/items/aa0d300450d370a1eca0

取り急ぎ、以上となりますどうぞ宜しくお願い申し上げます。

10
8
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
10
8