Skip to content

Commit

Permalink
example domains, DOCKER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vdo committed May 25, 2022
1 parent 9f9d5d3 commit 743c2c7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PROXY_DOMAIN=mainnet.xmr.sh
PROXY_DOMAIN=your-domain.xmr.example
PROXY_PORT=8081
PROXY_TAG=master

TRAEFIK_TAG=2.7
TRAEFIK_ACME_EMAIL=[email protected]
TRAEFIK_ACME_EMAIL=[email protected]
TRAEFIK_LOGLEVEL=DEBUG

MONEROD_TAG=latest
26 changes: 26 additions & 0 deletions DOCKER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Docker How-To

The Docker deployment adds a Traefik balancer and adds SSL support making use of Let's Encrypt. By default, it also adds a CORS headers middleware, so the node can be used in web applications seamlessly.

### Requirements

- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)
- A DNS domain pointing to your server (optional)

### Build and deploy

To build the base image, run:

```
docker-compose build
```

Once completed, configure the config file `.env` and `config.docker.ini` to your needs. Don't change the port and keep the node `http://monerod:18089/` as a primary to use the local node.

Then the node is ready to deploy with:

```
docker-compose pull
docker-compose up -d
```
9 changes: 0 additions & 9 deletions docker/config.ini

This file was deleted.

0 comments on commit 743c2c7

Please sign in to comment.