* Use image too in docker-compose
It is possible with version 2 of compose to use both `build` and `image`
* Update docker-compose.yml
web:
restart: always
build: .
+ image: gargron/mastodon
env_file: .env.production
command: bundle exec rails s -p 3000 -b '0.0.0.0'
ports:
streaming:
restart: always
build: .
+ image: gargron/mastodon
env_file: .env.production
command: npm run start
ports:
sidekiq:
restart: always
build: .
+ image: gargron/mastodon
env_file: .env.production
command: bundle exec sidekiq -q default -q mailers -q pull -q push
depends_on: