setup readme and .env file

This commit is contained in:
lza_menace
2020-09-28 23:30:34 -07:00
parent b7c328369b
commit 2fbebe814b
4 changed files with 24 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
data
.env

View File

@@ -1,2 +1,22 @@
# docker-monero-node
Simple way to run a Monero daemon with some basic monitoring tools packaged in.
## Setup
The only requirements are [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/). Ensure those are installed on your system.
```
# Clone and enter the repository
git clone https://github.com/lalanza808/docker-monero-node
cd docker-monero-node
# Setup Grafana password and blockchain storage location
cp env-example .env
vim .env
# Start containers
docker-compose up -d
```
Navigate to http://localhost:3000 and log into Grafana. Find the `Daemon Stats` dashboard to get those sweet, sweet graphs.

View File

@@ -56,7 +56,7 @@ services:
context: .
dockerfile: Dockerfile-monero
volumes:
- ./data:/data
- ${DATA_DIR:-./data}:/data
ports:
- 18080:18080
- 18081:18081

2
env-example Normal file
View File

@@ -0,0 +1,2 @@
DATA_DIR=/opt/monero/data
GRAFANA_PASSWORD=xxxxxxx