Skip to content

Commit

Permalink
Merge pull request #328 from gbayasgalan/image
Browse files Browse the repository at this point in the history
FIX: replacing stereum lighthouse image
  • Loading branch information
mabasian authored May 25, 2022
2 parents 60dfa36 + c174376 commit d3f9540
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions controls/roles/fastsync/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
vars_files:
- ../../../../defaults/stereum_defaults.yaml

vars:
beacon_service: 9024aec6-12a8-456a-8096-ee7ef6f67167

tasks:
- name: Install python for Ansible (Ubuntu)
raw: apt update && apt install -y pip
Expand All @@ -24,30 +27,39 @@

- name: Write service configuration lighthouse
copy:
dest: "/etc/stereum/services/9024aec6-12a8-456a-8096-ee7ef6f67167.yaml"
dest: "/etc/stereum/services/{{ beacon_service }}.yaml"
owner: "root"
group: "root"
mode: 0644
content: |
command: []
entrypoint:
- /opt/app/start/beacon.sh
env:
DATADIR: /opt/app/beacon
DEBUG_LEVEL: info
ETH1_NODES: http://stereum-25df0439-80e6-4afe-8876-72d7718035c3:8545
NETWORK: prater
SLASHERDIR: /opt/app/slasher
SLASHER_DB_SIZE: '16'
id: 9024aec6-12a8-456a-8096-ee7ef6f67167
image: stereum/lighthouse:v2.0.1-47
name: lighthouse
id: "{{ beacon_service }}"
image: sigp/lighthouse:v2.1.2
env: {}
ports:
- 0.0.0.0:9000:9000/tcp
- 0.0.0.0:9000:9000/udp
- 127.0.0.1:5052:5052/tcp
command:
- lighthouse
- bn
- --debug-level=info
- --network=prater
- --eth1-endpoints=http://10.10.0.3:8545
- --eth1-blocks-per-log-query=150
- --datadir=/opt/app/beacon
- --http
- --http-address=0.0.0.0
- --metrics
- --metrics-address=0.0.0.0
- --disable-upnp
- --validator-monitor-auto
- --slasher
- --slasher-dir=/opt/app/slasher
- --slasher-max-db-size=16
entrypoint: []
user: "2000"
volumes:
- /opt/stereum/lighthouse/beacon:/opt/app/beacon
- /opt/stereum/lighthouse/slasher:/opt/app/slasher
user: 2000
- "/opt/stereum/lighthouse/beacon:/opt/app/beacon"
- "/opt/stereum/lighthouse/slasher:/opt/app/slasher"
become: yes

0 comments on commit d3f9540

Please sign in to comment.