forked from BitcoinJake09/CryptoPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Docker-readme
62 lines (49 loc) · 1.66 KB
/
Docker-readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
How to run (for testing and development)
=========================================
1. run make
--------------
2. create variables.env and write your configuration
-----------------------------------------------------
An example configuration would be:
```
spigot:
container_name: cryptoplugin
build: .
ports:
- "25565:25565"
env_file:
- variables.env
environment:
- ADMIN_UUID=bceeaefc-9590-4233-a858-d3eb933121ec
- ADDRESS_URL=https://blockchair.com/dogecoin/address/
- TX_URL=https://blockchair.com/dogecoin/transaction/
- NODE_HOST=192.168.x.x
- NODE_PORT=22555
- NODE_USERNAME=ABC123
- NODE_PASSWORD=ABC123
- COINGECKO_CRYPTO=dogecoin
- CRYPTO_TICKER=DOGE
- DISPLAY_DECIMALS=4
- DENOMINATION_NAME=Shibe
links:
- redis
redis:
image: redis
```
3. run docker-compose build
run docker-compose up
--------------------------
port to docker
----------------------
sudo iptables -t nat -L -n
sudo iptables -t nat -A POSTROUTING --source 172.17.0.3 --destination 172.17.0.3 -p tcp --dport 25565 -j MASQUERADE
----------------------
to be added to the HUB with other servers enable Bungee and give the HUB operator the IP:PORT and Name to display
Configuring your Spigot servers for BungeeCordPermalink
On your Spigot servers, navigate to the Spigot directory and open spigot.yml.
Change bungeecord: false to bungeecord: true. Save and exit.
Open server.properties.
Change online-mode=true to online-mode=false. Save and exit.
Restart the Spigot servers.
How to run without docker
![](https://media.discordapp.net/attachments/803851819750129685/840074868111179786/unknown.png?width=802&height=451)