Browse Source

docker-compose add missing start command for distributors

Mokhtar Naamani 3 years ago
parent
commit
39e23c7e47
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docker-compose.yml

+ 2 - 2
docker-compose.yml

@@ -76,7 +76,7 @@ services:
     #   JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
     #   JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
     #   JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
     #   JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
     #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
     #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
-    command: ['yarn', 'joystream-distributor']
+    command: ['yarn', 'joystream-distributor', 'start']
 
 
   colossus-2:
   colossus-2:
     image: node:14
     image: node:14
@@ -136,7 +136,7 @@ services:
     #   JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
     #   JOYSTREAM_DISTRIBUTOR__LOG__ELASTIC: "off"
     #   JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
     #   JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
     #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
     #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
-    command: ['yarn', 'joystream-distributor']
+    command: ['yarn', 'joystream-distributor', 'start']
 
 
   db:
   db:
     image: postgres:12
     image: postgres:12