setup readme and .env file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
data
|
data
|
||||||
|
.env
|
||||||
|
|||||||
20
README.md
20
README.md
@@ -1,2 +1,22 @@
|
|||||||
# docker-monero-node
|
# docker-monero-node
|
||||||
|
|
||||||
Simple way to run a Monero daemon with some basic monitoring tools packaged in.
|
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.
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile-monero
|
dockerfile: Dockerfile-monero
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ${DATA_DIR:-./data}:/data
|
||||||
ports:
|
ports:
|
||||||
- 18080:18080
|
- 18080:18080
|
||||||
- 18081:18081
|
- 18081:18081
|
||||||
|
|||||||
2
env-example
Normal file
2
env-example
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DATA_DIR=/opt/monero/data
|
||||||
|
GRAFANA_PASSWORD=xxxxxxx
|
||||||
Reference in New Issue
Block a user