Browse Source

Merge branch 'tests-giza-setup-new-chain' into deploy-giza-playground

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

+ 39 - 3
docker-compose.yml

@@ -5,6 +5,7 @@ version: '3.4'
 services:
   joystream-node:
     image: joystream/node:$JOYSTREAM_NODE_TAG
+    restart: unless-stopped
     build:
       # context is relative to the compose file
       context: .
@@ -147,7 +148,7 @@ services:
   db:
     image: postgres:12
     container_name: db
-    restart: always
+    restart: unless-stopped
     ports:
       - '127.0.0.1:${DB_PORT}:${DB_PORT}'
     volumes:
@@ -250,13 +251,14 @@ services:
   redis:
     image: redis:6.0-alpine
     container_name: redis
-    restart: always
+    restart: unless-stopped
     ports:
       - '127.0.0.1:6379:6379'
 
   pioneer:
     image: nginx
     container_name: pioneer
+    restart: unless-stopped
     volumes:
       - ./pioneer/packages/apps/build:/usr/share/nginx/html
     ports:
@@ -264,6 +266,38 @@ services:
     environment:
       - NGINX_PORT=80
 
+  faucet:
+    image: joystream/faucet:giza
+    restart: on-failure
+    container_name: faucet
+    environment:
+      - SCREENING_AUTHORITY_SEED=//Alice
+      - PORT=3002
+      - PROVIDER=ws://joystream-node:9944
+      - ENDOWMENT=0
+    ports:
+      - "127.0.0.1:3002:3002"
+
+  orion:
+    container_name: orion
+    image: joystream/orion
+    environment:
+      - ORION_PORT=6116
+      - ORION_MONGO_HOSTNAME=mongo
+      - ORION_FEATURED_CONTENT_SECRET=password123
+    ports:
+      - "6116:6116"
+    depends_on:
+      - mongo
+    restart: always
+
+  mongo:
+    restart: always
+    container_name: mongo
+    image: library/mongo:4.4
+    volumes:
+      - orion-mongo-data:/data/db
+
 volumes:
   chain-data:
     driver: local
@@ -288,4 +322,6 @@ volumes:
   distributor-2-cache:
     driver: local
   distributor-2-data:
-    driver: local
+    driver: local
+  orion-mongo-data:
+    driver: local