Add Mars stack #725
							
								
								
									
										20
									
								
								stack_orchestrator/data/compose/docker-compose-mars.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								stack_orchestrator/data/compose/docker-compose-mars.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
version: "3.2"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  mars:
 | 
			
		||||
    image: cerc/mars:local
 | 
			
		||||
    restart: always
 | 
			
		||||
    ports:
 | 
			
		||||
      - "3000:3000"
 | 
			
		||||
    environment:
 | 
			
		||||
      - URL_OSMOSIS_GQL=https://osmosis-node.marsprotocol.io/GGSFGSFGFG34/osmosis-hive-front/graphql
 | 
			
		||||
      - URL_OSMOSIS_REST=https://lcd-osmosis.blockapsis.com
 | 
			
		||||
      - URL_OSMOSIS_RPC=https://rpc-osmosis.blockapsis.com
 | 
			
		||||
      - URL_NEUTRON_GQL=https://neutron.rpc.p2p.world/qgrnU6PsQZA8F9S5Fb8Fn3tV3kXmMBl2M9bcc9jWLjQy8p/hive/graphql
 | 
			
		||||
      - URL_NEUTRON_REST=https://rest-kralum.neutron-1.neutron.org
 | 
			
		||||
      - URL_NEUTRON_RPC=https://rpc-kralum.neutron-1.neutron.org
 | 
			
		||||
      - URL_NEUTRON_TEST_GQL=https://testnet-neutron-gql.marsprotocol.io/graphql
 | 
			
		||||
      - URL_NEUTRON_TEST_REST=https://rest-palvus.pion-1.ntrn.tech
 | 
			
		||||
      - URL_NEUTRON_TEST_RPC=https://rpc-palvus.pion-1.ntrn.tech
 | 
			
		||||
      - WALLET_CONNECT_ID=0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x0x
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								stack_orchestrator/data/container-build/cerc-mars/build.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								stack_orchestrator/data/container-build/cerc-mars/build.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
# Build the mars image
 | 
			
		||||
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
 | 
			
		||||
docker build -t cerc/mars:local -f ${CERC_REPO_BASE_DIR}/mars-interface/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/mars-interface
 | 
			
		||||
							
								
								
									
										16
									
								
								stack_orchestrator/data/stacks/mars/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								stack_orchestrator/data/stacks/mars/README.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
# mars
 | 
			
		||||
 | 
			
		||||
On a fresh Digital Ocean droplet with Ubuntu:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
git clone https://github.com/cerc-io/stack-orchestrator
 | 
			
		||||
cd stack-orchestrator
 | 
			
		||||
./scripts/quick-install-linux.sh
 | 
			
		||||
```
 | 
			
		||||
Read and follow the instructions output from the above output to complete installation, then:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
laconic-so --stack mars setup-repositories
 | 
			
		||||
laconic-so --stack mars build-containers
 | 
			
		||||
laconic-so --stack mars deploy up
 | 
			
		||||
```
 | 
			
		||||
							
								
								
									
										8
									
								
								stack_orchestrator/data/stacks/mars/stack.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								stack_orchestrator/data/stacks/mars/stack.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
version: "0.1"
 | 
			
		||||
name: mars
 | 
			
		||||
repos:
 | 
			
		||||
  - github.com/cerc-io/mars-interface
 | 
			
		||||
containers:
 | 
			
		||||
  - cerc/mars
 | 
			
		||||
pods:
 | 
			
		||||
  - mars
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user