Ver a proveniência

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
master
Pierre Ozoux há 7 anos
committed by Eugen
ascendente
cometimento
0d2910478a
1 ficheiros alterados com 3 adições e 0 eliminações
  1. +3
    -0
      docker-compose.yml

+ 3
- 0
docker-compose.yml Ver ficheiro

@@ -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:


Carregando…
Cancelar
Guardar