forked from cerc-io/testnet-ops
Prathamesh Musale
88e0b48540
Part of [Automate testnet nitro deployments using Ansible](https://www.notion.so/Automate-testnet-nitro-deployments-using-Ansible-0d15579430204b8daba9a8aa31e07568) Implement Ansible playbook to: - Deploy nitro contracts on L1 - Deploy bridge contract on L2 - Setup and run nitro bridge Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/testnet-ops#4 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
29 lines
953 B
Django/Jinja
29 lines
953 B
Django/Jinja
stack: /home/{{ ansible_user }}/cerc/nitro-stack/stack-orchestrator/stacks/bridge
|
|
deploy-to: compose
|
|
config:
|
|
NITRO_L1_CHAIN_URL: {{ nitro_l1_chain_url }}
|
|
NITRO_L2_CHAIN_URL: {{ nitro_l2_chain_url }}
|
|
NITRO_CHAIN_PK: {{ nitro_chain_pk }}
|
|
NITRO_SC_PK: {{ nitro_sc_pk }}
|
|
OPTIMISM_CHAIN_ID: {{ optimism_chain_id }}
|
|
OPTIMISM_URL: {{ optimism_url }}
|
|
OPTIMISM_DEPLOYER_PK: {{ optimism_deployer_pk }}
|
|
TOKEN_NAME: {{ token_name }}
|
|
TOKEN_SYMBOL: {{ token_symbol }}
|
|
INITIAL_TOKEN_SUPPLY: {{ token_symbol }}
|
|
NA_ADDRESS: {{ na_address }}
|
|
VPA_ADDRESS: {{ vpa_address }}
|
|
CA_ADDRESS: {{ ca_address }}
|
|
L1_ASSET_ADDRESS: {{ l1_asset_address }}
|
|
network:
|
|
ports:
|
|
nitro-bridge:
|
|
- 0.0.0.0:3005:3005
|
|
- 0.0.0.0:3006:3006
|
|
- 0.0.0.0:4006:4006
|
|
volumes:
|
|
nitro_bridge_data: ./data/nitro_bridge_data
|
|
nitro_bridge_tls: ./data/nitro_bridge_tls
|
|
nitro_node_caroot: ./data/nitro_node_caroot
|
|
nitro_deployment: ./data/nitro_deployment
|