mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-12 16:42:12 -04:00
keep modified files out of source control
This commit is contained in:
parent
9bf2d794e7
commit
1a363abcd5
4 changed files with 38 additions and 4 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.env
|
||||
docker-compose.yml
|
31
README.md
31
README.md
|
@ -2,6 +2,37 @@
|
|||
|
||||
**xmr.sh** script wizard sets up a new server running a monero node daemon with Docker compose, with your choice of SSL certificates for your domain, network selection, a Tor hidden service, Grafana dashboard and more.
|
||||
|
||||
## Getting Started
|
||||
|
||||
The most important files are:
|
||||
|
||||
* `.env` - where your configurations/secrets are kept
|
||||
* `docker-compose.yml` - where your Docker container options are defined
|
||||
|
||||
This repo provides example files for you to copy and modify to suit your deployment needs. To get started, simply copy those files and modify as needed.
|
||||
|
||||
```bash
|
||||
# Update configurations/secrets/settings
|
||||
cp env-example .env
|
||||
vim .env
|
||||
|
||||
# Update Docker containers - uncomment services to run additional helpers
|
||||
cp docker-compose-example.yml docker-compose.yml
|
||||
vim docker-compose.yml
|
||||
```
|
||||
|
||||
Once those files are present, use `docker-compose` to launch your containers.
|
||||
|
||||
```bash
|
||||
docker-compose up -d # start and daemonize (background) all containers
|
||||
|
||||
docker-compose logs -f # tail all logs
|
||||
|
||||
docker-compose logs -f monerod # tail individual container logs (here monerod)
|
||||
|
||||
docker-compose down # stop containers
|
||||
```
|
||||
|
||||
## Distribution support
|
||||
|
||||
Compatible and tested on:
|
||||
|
|
|
@ -212,7 +212,7 @@ services:
|
|||
ports:
|
||||
- "${MONEROD_P2P_PORT}:${MONEROD_P2P_PORT}" # Exposes P2P port
|
||||
volumes:
|
||||
- "./data/monero:/home/monero/.bitmonero"
|
||||
- "${MONEROD_DATA_DIR}:/home/monero/.bitmonero"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
# - "traefik.http.routers.monerod.rule=(Host(`${DOMAIN}`) && PathPrefix(`/`))" #!le
|
|
@ -1,10 +1,10 @@
|
|||
DOMAIN=your-domain.xmr.example
|
||||
|
||||
TRAEFIK_TAG=2.7
|
||||
TRAEFIK_ACME_EMAIL=your-email@xmr.example
|
||||
TRAEFIK_ACME_EMAIL=lza_menace@protonmail.com
|
||||
TRAEFIK_LOGLEVEL=DEBUG
|
||||
TRAEFIK_TLS_PORT=443
|
||||
TRAEFIK_HTTP_PORT=80
|
||||
TRAEFIK_TLS_PORT=4443
|
||||
TRAEFIK_HTTP_PORT=8000
|
||||
|
||||
MONEROD_TAG=latest
|
||||
MONEROD_RPC_PORT=18081
|
||||
|
@ -14,6 +14,7 @@ MONEROD_ZMQ_RPC_PORT=18082
|
|||
MONEROD_ZMQ_PUB_PORT=18083
|
||||
MONEROD_EXTRA_PARAMS=
|
||||
MONEROD_accessControlAllowOriginList=*
|
||||
MONEROD_DATA_DIR=./data/monero
|
||||
|
||||
LWS_TAG=v0.2_0.18
|
||||
LWS_PORT=8000
|
Loading…
Add table
Add a link
Reference in a new issue