Browse Source

Merge pull request #3030 from Joystream/giza-playground

Giza playground
Mokhtar Naamani 3 years ago
parent
commit
d89dba25dd

+ 1 - 1
devops/aws/deploy-playground-playbook.yml

@@ -97,7 +97,7 @@
       debug:
       debug:
         msg:
         msg:
           - 'The services should now be accesible at:'
           - 'The services should now be accesible at:'
-          - 'Pioneer: https://{{ nip_domain }}/pioneer/'
+          - 'Pioneer: https://{{ nip_domain }}/'
           - 'WebSocket RPC: wss://{{ nip_domain }}/ws-rpc'
           - 'WebSocket RPC: wss://{{ nip_domain }}/ws-rpc'
           - 'HTTP RPC: https://{{ nip_domain }}/http-rpc'
           - 'HTTP RPC: https://{{ nip_domain }}/http-rpc'
           - 'Colossus: https://{{ nip_domain }}/colossus-1'
           - 'Colossus: https://{{ nip_domain }}/colossus-1'

+ 5 - 5
devops/aws/templates/Playground-Caddyfile.j2

@@ -8,11 +8,6 @@
     reverse_proxy localhost:9933
     reverse_proxy localhost:9933
 }
 }
 
 
-{{ nip_domain }}/pioneer* {
-    uri strip_prefix /pioneer
-    reverse_proxy localhost:3000
-}
-
 {{ nip_domain }}/colossus-1* {
 {{ nip_domain }}/colossus-1* {
     uri strip_prefix /colossus-1
     uri strip_prefix /colossus-1
     reverse_proxy localhost:3333
     reverse_proxy localhost:3333
@@ -47,3 +42,8 @@
     uri strip_prefix /member-faucet
     uri strip_prefix /member-faucet
     reverse_proxy localhost:3002
     reverse_proxy localhost:3002
 }
 }
+
+# Pioneer
+{{ nip_domain }}/* {
+    reverse_proxy localhost:3000
+}

+ 1 - 1
storage-playground-config.sh

@@ -22,7 +22,7 @@ ${CLI} leader:update-voucher-limits -o 10000 -s 1000000000000 --accountUri ${COL
 BUCKET_ID=`${CLI} leader:create-bucket -i=${COLOSSUS_1_WORKER_ID} -a -n=10000 -s=1000000000000  --accountUri ${COLOSSUS_1_WORKER_URI}`
 BUCKET_ID=`${CLI} leader:create-bucket -i=${COLOSSUS_1_WORKER_ID} -a -n=10000 -s=1000000000000  --accountUri ${COLOSSUS_1_WORKER_URI}`
 ${CLI} operator:accept-invitation -w=${COLOSSUS_1_WORKER_ID} -i=${BUCKET_ID} -t=${TRANSACTOR_KEY} --accountUri ${COLOSSUS_1_WORKER_URI}
 ${CLI} operator:accept-invitation -w=${COLOSSUS_1_WORKER_ID} -i=${BUCKET_ID} -t=${TRANSACTOR_KEY} --accountUri ${COLOSSUS_1_WORKER_URI}
 ${CLI} leader:update-dynamic-bag-policy -n 1 -t Channel --accountUri ${COLOSSUS_1_WORKER_URI}
 ${CLI} leader:update-dynamic-bag-policy -n 1 -t Channel --accountUri ${COLOSSUS_1_WORKER_URI}
-${CLI} leader:update-data-fee -f 10 --accountUri ${COLOSSUS_1_WORKER_URI} # Optionally - set some data fee per megabyte
+${CLI} leader:update-data-fee -f 0 --accountUri ${COLOSSUS_1_WORKER_URI} # Optionally - set some data fee per megabyte
 
 
 # The node uri should be an accessible endpoint from within a container as well as the host machine.
 # The node uri should be an accessible endpoint from within a container as well as the host machine.
 # In production it would most likely be the reverse proxy endpoint. If not specified we
 # In production it would most likely be the reverse proxy endpoint. If not specified we