Compare commits
1 Commits
fb51001804
...
270f29702d
Author | SHA1 | Date | |
---|---|---|---|
270f29702d |
@ -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
|
15
playbook.yml
15
playbook.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user