From 9f1096d0aff11389eb3f2be9b8995658e280f2c9 Mon Sep 17 00:00:00 2001 From: benbierens Date: Wed, 25 Oct 2023 15:01:58 +0200 Subject: [PATCH] Initial setup. --- README.md | 14 ++++++++++++++ docker-compose.yaml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 README.md create mode 100644 docker-compose.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..4351e39 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Codex Testnet Starter +Hit the ground running with Codex. + +## How to start +- Have docker installed. +- Clone this repo. +- `docker-compose up -d` +- Open browser to `` + +## How to stop +- `docker-compose down` + +## How to stop and delete everything +- `docker-compose down --rmi all -v` diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..e191819 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,14 @@ +services: + my-codex-node: + image: codexstorage/nim-codex:latest + environment: + - CODEX_API_BINDADDR=0.0.0.0 + # - CODEX_BOOTSTRAP_NODE=bootsprhere + # - CODEX_PERSISTENCE=true + # - CODEX_ETH_PROVIDER=${CODEX_ETH_PROVIDER:-ws://localhost:8545} + # - CODEX_ETH_ACCOUNT=${CODEX_ETH_ACCOUNT} + # - CODEX_MARKETPLACE_ADDRESS=${CODEX_MARKETPLACE_ADDRESS:-0x59b670e9fA9D0A427751Af201D676719a970857b} + ports: + - 8080:8080/tcp # REST API + volumes: + - ./datadir:/datadir:z