Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIO Protocol #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions fioprotocol/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# FIO Protocol

[https://fioprotocol.io](https://fioprotocol.io)

Making crypto products easier so anyone can use them.

FIO - the Foundation for Interwallet Operability, is a decentralized consortium of blockchain organizations and community members supporting the ongoing development, integration, and promotion of the FIO Protocol.

This deployment will bring up a full v1-history node on the FIO mainnet and expose the REST-API (80/443) and P2P (random) ports. The node will pull a recent database archive which includes all blocks and history indexes. It allows bringing a fully-synced API node online in usually under 30 minutes.

The pod will mount a 100G persistent volume at `/var/lib/fio`. Because the nodeos process must run as pid 1 and the volume is mounted with root permissions the startup script is run as root, file permissions are updated, then privileges are dropped to a regular user. Container source is available on [github]( https://github.com/blockpane/fio-docker)

48 changes: 48 additions & 0 deletions fioprotocol/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
version: "2.0"

services:
fiohistory:
image: ghcr.io/blockpane/fio-docker:v3.4.0-alpha1-hf2
params:
storage:
data:
mount: /var/lib/fio
expose:
- port: 8888
as: 80
to:
- global: true
- port: 3856
to:
- global: true

profiles:
compute:
fiohistory:
resources:
cpu:
units: 4
memory:
size: 12Gi
storage:
- size: 256Mi
- name: data
size: 100Gi
attributes:
persistent: true
class: beta2

placement:
dcloud:
pricing:
fiohistory:
denom: uakt
amount: 1000

deployment:
fiohistory:
dcloud:
profile: fiohistory
count: 1