Sign inSign up

xterna/spide-network

By xterna

Updated over 2 years ago

Unofficial image for Spide Network.

Image
Internet of things
1

10K+

xterna/spide-network repository overview

Spide Network Docker

Containerised docker image for Spide Network

Note: This is an unofficial build and comes with no warranty of any kind. By using this image you also agree to Spide Network's terms and conditions.

The aim is to containerise the standard Linux CLI version of the binary into a dockerised container.

Source Code

For ARM Platforms Only

This section only applies to running on ARM platforms as the image and its underlying binary are originally compiled for x86_64 (64-Bit) Intel/AMD-based architectures.

To run the docker image on ARM platforms such as Raspberry Pi, it needs to run on an emulation layer.

docker run --rm --privileged aptman/qus -s -- -p x86_64

However, on reboot, the emulation must be re-enabled again. Therefore, cron can be used so that the cron scheduler will start the emulation on reboot.

sudo crontab -e

Then add the entry and that's it.

@reboot docker run --privileged --rm tonistiigi/binfmt --install all

or via (only adding x86_64)

@reboot docker run --rm --privileged aptman/qus -s -- -p x86_64

The non-native docker image will now run on ARM platforms such as arm64, arm64v8, arm32v7, aarch64 which previously wouldn't without first enabling the emulation layer.

Run Usage

Docker Compose

Via compose.yml

version: '3'

services:
  spide:
    container_name: spide
    image: xterna/spide-network
    restart: unless-stopped
    platform: linux/amd64
    dns:
        - 1.1.1.1
        - 8.8.8.8
Docker run
docker run -d --restart unless-stopped --name spide xterna/spide-network

This will start the application in the background. The alias assigned is spide.

Register device

The device running the Spide application will need to be registered in the dashboard for the device to be linked to your earning account.

To get the device key, you need to run the docker logs command to find the key for registering.

docker logs spide
2024/02/07 00:34:47 Build version: 2022-07-12_11:08:44AM-LINUX
2024/02/07 00:34:47 ENV: prod
2024/02/07 00:34:47 Device Key:  c253589lk23j523jkhasf904124kj1as8512972215kljasd04asd9085124as3r
2024/02/07 00:34:48 get url https://config-alpha-01.sgp1.digitaloceanspaces.com/client_config_prod_v0.1.json content length 517
2024/02/07 00:34:48 Client version:  14
2024/02/07 00:34:48 connect to server 159.223.219.217:50001
2024/02/07 00:34:48 Status: OK

If for any reason you can't locate the key, stop the container and start it again. Give it a second or two before fetching the logs again.

docker stop spide; docker start spide
Spide Dashboard

Register for an account if you haven't here. You will benefit from $5 using my link to sign up.

Once you have an account head over to the dashboard, locate Register Device to register.

image

Give it a name for easy recognition and put in the device key that was obtained from the logs earlier.

Like my work?

Donations are warmly welcomed no matter how small and thank you very much. 😌

  • Bitcoin (BTC) - bc1qq993w3mxsf5aph5c362wjv3zaegk37tcvw7rl4
  • Ethereum (ETH) - 0x2601B9940F9594810DEDC44015491f0f9D6Dd1cA
  • Binance (BNB) - bnb1dj3l3fp24z05vtwtjpaatjyz9sll4elu9lkjww
  • Binance Smart Chain (BSC) - 0x2601B9940F9594810DEDC44015491f0f9D6Dd1cA
  • Solana (SOL) - Ap5aiAbnsLtR2XVJB3sp37qdNP5VfqydAgUThvdEiL5i
  • PayPal - @xterna

Tag summary

Content type

Image

Digest

sha256:d92f6ab7f

Size

16 MB

Last updated

over 2 years ago

docker pull xterna/spide-network