mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 20:17:54 +00:00
added monerod
This commit is contained in:
parent
1fc6ac77e2
commit
4308cd7bda
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,9 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
# monerod
|
||||||
|
monerod/.bitmonero
|
||||||
|
|
||||||
# minecraft
|
# minecraft
|
||||||
minecraft/world
|
minecraft/world
|
||||||
|
|
||||||
|
25
README.md
25
README.md
@ -1,19 +1,26 @@
|
|||||||
# matthewtran.com
|
# matthewtran.com
|
||||||
|
|
||||||
Stuff that's deployed on matthewtran.com. Tested on Ubuntu Server 22.04.3 LTS.
|
Stuff that's deployed on [matthewtran.com](matthewtran.com). Tested on Ubuntu Server 22.04.3 LTS. Currently running the following services.
|
||||||
|
|
||||||
|
- website
|
||||||
|
- gitlab
|
||||||
|
- monerod
|
||||||
|
- p2pool (`xmrig -o matthewtran.com:3333`)
|
||||||
|
- minecraft
|
||||||
|
- terraria
|
||||||
|
|
||||||
## setup
|
## setup
|
||||||
|
|
||||||
Forward the following ports to the server.
|
Forward the following ports to the server.
|
||||||
|
|
||||||
| service | port |
|
| service | port |
|
||||||
|-----------|---------|
|
|-----------|--------------------|
|
||||||
| website | 80, 443 |
|
| website | 80, 443 |
|
||||||
| p2pool | 3333 |
|
| monerod | 18080 |
|
||||||
| monerod | 18081 |
|
| p2pool | 3333, 37888, 37889 |
|
||||||
| minecraft | 25565 |
|
| minecraft | 25565 |
|
||||||
| terraria | 7777 |
|
| terraria | 7777 |
|
||||||
| wireguard | 51820 |
|
| wireguard | 51820 |
|
||||||
|
|
||||||
Run the following commands.
|
Run the following commands.
|
||||||
|
|
||||||
|
@ -1,4 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
|
monerod:
|
||||||
|
restart: always
|
||||||
|
build: monerod/.
|
||||||
|
entrypoint: ["/bin/sh", "/root/entry.sh"]
|
||||||
|
ports:
|
||||||
|
- "18080:18080"
|
||||||
|
- "18083:18083"
|
||||||
|
volumes:
|
||||||
|
- ./monerod/.bitmonero:/root/.bitmonero
|
||||||
minecraft:
|
minecraft:
|
||||||
restart: always
|
restart: always
|
||||||
build: minecraft/.
|
build: minecraft/.
|
||||||
|
12
monerod/Dockerfile
Normal file
12
monerod/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get upgrade
|
||||||
|
RUN apt-get install -y wget bzip2
|
||||||
|
|
||||||
|
RUN wget https://downloads.getmonero.org/linux64
|
||||||
|
RUN tar xvf linux64 && rm linux64
|
||||||
|
RUN mv monero-x86_64-linux-gnu-v0.18.2.2/ monero/
|
||||||
|
|
||||||
|
COPY entry.sh ./
|
11
monerod/entry.sh
Normal file
11
monerod/entry.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
monero/monerod \
|
||||||
|
--prune-blockchain \
|
||||||
|
--zmq-pub tcp://0.0.0.0:18083 \
|
||||||
|
--out-peers 64 --in-peers 32 \
|
||||||
|
--add-priority-node=node.supportxmr.com:18080 \
|
||||||
|
--add-priority-node=nodes.hashvault.pro:18080 \
|
||||||
|
--disable-dns-checkpoints \
|
||||||
|
--enable-dns-blocklist \
|
||||||
|
--non-interactive
|
@ -1,5 +1,5 @@
|
|||||||
world=/root/worlds/default.wld
|
world=/root/worlds/default.wld
|
||||||
autocreate=3
|
autocreate=3
|
||||||
worldname=default
|
worldname=default
|
||||||
difficulty=0
|
difficulty=2
|
||||||
worldpath=/root/worlds
|
worldpath=/root/worlds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user