diff options
author | Pierre Ozoux <pierre@ozoux.net> | 2017-04-15 01:07:59 +0100 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-15 02:07:59 +0200 |
commit | 0d2910478a6b1659f4c40e64cf28cf2e64dfb01e (patch) | |
tree | 1837b745f4b2640cb3c6cdfed531d11dbb7dd278 /docker-compose.yml | |
parent | 5ab0ffc6c8ae37d95b559ed0a9f2b926490e1d59 (diff) |
Use image too in docker-compose (#1109)
* Use image too in docker-compose It is possible with version 2 of compose to use both `build` and `image` * Update docker-compose.yml
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 910bf8cfe..81c6fe981 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: web: restart: always build: . + image: gargron/mastodon env_file: .env.production command: bundle exec rails s -p 3000 -b '0.0.0.0' ports: @@ -32,6 +33,7 @@ services: streaming: restart: always build: . + image: gargron/mastodon env_file: .env.production command: npm run start ports: @@ -43,6 +45,7 @@ services: 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: |