Build docker image $ cd /path/to/Dockerfile $ sudo docker build .
View running processes $ sudo docker ps View all processes
$ sudo docker ps -a Run an image in a new container daemonized
| # Address of Pyth contract | |
| pythNetworkAddress: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6" | |
| # debug mode | |
| debug: true | |
| # Refresh rate of config in seconds to prevent rate limiting from github | |
| configRefreshRateInSeconds: 3600 | |
| # See [https://docs.pyth.network/documentation/pythnet-price-feeds/price-service#public-endpoints] | |
| priceServiceEndpoint: "https://hermes.pyth.network" | |
| # maximum number of seconds between updates | |
| validTimePeriodSeconds: 86400 |
| # Address of Pyth contract | |
| # See [https://docs.pyth.network/documentation/pythnet-price-feeds/evm#mainnet] | |
| pythNetworkAddress: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF" # Arbitrum Sepolia correto | |
| # debug mode | |
| debug: false | |
| # Refresh rate of config in seconds to prevent rate limiting from github | |
| configRefreshRateInSeconds: 3600 | |
| # See [https://docs.pyth.network/documentation/pythnet-price-feeds/price-service#public-endpoints] | |
| priceServiceEndpoint: "https://hermes.pyth.network" | |
| # maximum number of seconds between updates |
| #!/bin/bash | |
| set -e | |
| if [ -z "$BOOTNODE_POD_IP" ]; then | |
| cat <<EOF | |
| export BOOTNODE_POD_IP into the environment | |
| EOF | |
| exit 1 | |
| fi |
| //LoggedIn Page | |
| import { useEffect } from 'react'; | |
| import { useRouter } from 'next/router'; | |
| import { useAuth } from '../context/AuthUserContext'; | |
| const LoggedIn = () => { | |
| const { authUser, loading, signOut } = useAuth(); | |
| const router = useRouter(); | |
| // Listen for changes on loading and authUser, redirect if needed |
| storage: | |
| dbPath: "/data/db" | |
| systemLog: | |
| path: "/data/log.mongod.log" | |
| destination: "file" | |
| logAppend: true | |
| net: | |
| bindIp : 127.0.0.1,192.168.103.100 | |
| port : 27000 | |
| processManagement: |
Build docker image $ cd /path/to/Dockerfile $ sudo docker build .
View running processes $ sudo docker ps View all processes
$ sudo docker ps -a Run an image in a new container daemonized
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Launch Program", |
| #!/bin/bash | |
| # Ask the user for the folder to create host | |
| # TODO: Not display the error when docker container is not running | |
| echo " Try to stop static-arvis-dock if is running: " | |
| docker stop static-arvis-dock | |
| docker rm static-arvis-dock | |
| echo | |
| echo | |
| echo " _____ ______ ______ __ __ ______ "; | |
| echo "/\ __-. /\ __ \ /\ ___\ /\ \/ / /\ ___\ "; |