Skip to content

Commit

Permalink
chore: added rpc-moonbeam-polkadot-01
Browse files Browse the repository at this point in the history
  • Loading branch information
Catopish committed Jan 10, 2025
1 parent 7c3b512 commit 77c5b68
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
29 changes: 29 additions & 0 deletions host_vars/bkk06.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2043,3 +2043,32 @@ lxc_nodes:
- from_port: "{{ hostvars['rpc-asset-hub-paseo-01']['transition_bootnode_p2p_port_wss'] }}"
to_host: "{{ hostvars['rpc-asset-hub-paseo-01']['container_ip'] }}:{{ hostvars['rpc-asset-hub-paseo-01']['transition_bootnode_p2p_port_wss'] }}"
protocol: "tcp"
- host: "rpc-moonbeam-polkadot-01"
proxmox_config:
vmid: "31201"
hostname: "{{ hostvars['rpc-moonbeam-polkadot-01']['host_name'] }}"
ostemplate: "local:vztmpl/{{ default_container_template }}"
netif: "{{ hostvars['rpc-moonbeam-polkadot-01']['netif'] }}"
cores: 4
memory: 16384
swap: 8192
password: "{{ default_password }}"
disk: "{{ zfs_storage }}:20"
mounts: '{"mp0":"{{ zfs_storage }}:250,mp={{ hostvars["rpc-moonbeam-polkadot-01"]["default_database_path"] }}"}'
onboot: True
unprivileged: True
validate_certs: False
description: "{{ hostvars['rpc-moonbeam-polkadot-01']['default_network'] }} {{ hostvars['rpc-moonbeam-polkadot-01']['default_node_type'] }}: {{ hostvars['rpc-moonbeam-polkadot-01']['host_name'] }}"
state: present
features:
- nesting=1
port_forwards:
- from_port: "{{ hostvars['rpc-moonbeam-polkadot-01']['ansible_port'] }}"
to_host: "{{ hostvars['rpc-moonbeam-polkadot-01']['container_ip'] }}:{{ ssh_port }}"
protocol: "tcp"
- from_port: "{{ hostvars['rpc-moonbeam-polkadot-01']['zabbix_ext_port'] }}"
to_host: "{{ hostvars['monitor']['container_ip'] }}:{{ zabbix_port }}"
protocol: "tcp"
- from_port: "{{ hostvars['rpc-moonbeam-polkadot-01']['default_p2p_port'] }}"
to_host: "{{ hostvars['rpc-moonbeam-polkadot-01']['container_ip'] }}:{{ hostvars['rpc-moonbeam-polkadot-01']['default_p2p_port'] }}"
protocol: "tcp"
27 changes: 27 additions & 0 deletions host_vars/rpc-moonbeam-polkadot-01.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
ansible_host: "160.22.181.181"
container_ip: "192.168.111.30"
ansible_port: 2131
host_name: "rpc-moonbeam-polkadot-01.ct.rotko.net"
host_timezone: "Asia/Bangkok"
netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}'
role: "moonbeam"
pinned_service: True

default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }}"
default_domain: "{{ host_name }}"
default_network: "moonbeam"
default_relay_rpc: "ws://{{ hostvars['rpc-polkadot-01']['container_ip'] }}:{{ hostvars['rpc-polkadot-01']['default_rpc_port'] }}"
default_relay_rpc_fallback: "ws://{{ hostvars['rpc-polkadot-02']['container_ip'] }}:{{ hostvars['rpc-polkadot-02']['default_rpc_port'] }}"
default_database: "rocksdb"
default_node_type: "endpoint"
default_bootnode_domain: "moonbeam.boot.rotko.net"
default_p2p_port: 31201
default_p2p_port_ws: 30434
default_p2p_port_wss: 30435
default_rpc_port: 9400
default_prom_port: 7400
default_secure_rpc_port: 42131
zabbix_ext_port: 10131
default_in_peers: 64
default_out_peers: 64
1 change: 1 addition & 0 deletions playbooks/moonbeam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
roles:
- setup_add_node_role
- setup_install_moonbeam
- setup_install_nginx

0 comments on commit 77c5b68

Please sign in to comment.