Compare commits

..

1 Commits

Author SHA1 Message Date
270f29702d Update credentials.json 2024-11-20 05:39:19 +03:00
2 changed files with 13 additions and 4 deletions

View File

@ -3,5 +3,5 @@ services:
image: nillion/verifier:v1.0.1 image: nillion/verifier:v1.0.1
command: verify --rpc-endpoint "###RPC###" command: verify --rpc-endpoint "###RPC###"
volumes: volumes:
- /home/root/node:/var/tmp - ./nillion/verifier:/var/tmp
restart: always restart: always

View File

@ -11,7 +11,7 @@
create: yes create: yes
block: | block: |
#1724983098 #1724983098
cd node/ ; docker compose logs -f cd basic-coin-prediction-node/ ; docker compose logs -f
#1724983099 #1724983099
docker logs worker -f docker logs worker -f
marker: "" marker: ""
@ -173,13 +173,22 @@
- name: Update environment variables - name: Update environment variables
ansible.builtin.shell: | ansible.builtin.shell: |
./update.sh ADDRESS "{{ address }}" ./update.sh ADDRESS "{{ address }}"
./update.sh PRIVATE "{{ private_key }}" ./update.sh PRIVATE_KEY "{{ private_key }}"
./update.sh PUBLIC "{{ public_key }}" ./update.sh PUBLIC_KEY "{{ public_key }}"
./update.sh RPC_URL "{{ rpc_url }}" ./update.sh RPC_URL "{{ rpc_url }}"
args: args:
chdir: "{{ ansible_env.HOME }}/node" chdir: "{{ ansible_env.HOME }}/node"
changed_when: false changed_when: false
- name: Init config
ansible.builtin.shell: |
mkdir -p ~/.nillion
mkdir -p ~/.nillion/verifier
cp {{ ansible_env.HOME }}/node/credentials.json ~/.nillion/verifier/
args:
chdir: "{{ ansible_env.HOME }}/node"
changed_when: false
- name: Download dockers images - name: Download dockers images
ansible.builtin.command: docker compose pull ansible.builtin.command: docker compose pull
args: args: