-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file was deleted.
Oops, something went wrong.