mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 12:07:56 +00:00
final touches
This commit is contained in:
parent
3fc2698db9
commit
10d005fd19
@ -8,9 +8,9 @@ Services deployed on [matthewtran.com](https://matthewtran.com).
|
||||
- p2pool (`xmrig -o matthewtran.com`)
|
||||
- wireguard
|
||||
- minecraft
|
||||
- minecraft bedrock
|
||||
- terraria
|
||||
- nas (`<server>/share` on LAN)
|
||||
- ~~minecraft bedrock~~
|
||||
- ~~terraria~~
|
||||
- nas (`<server>/<name>` on LAN)
|
||||
|
||||
## setup
|
||||
|
||||
|
50
compose.yml
50
compose.yml
@ -96,31 +96,31 @@ services:
|
||||
- ./minecraft/worlds:/home/me/worlds
|
||||
cap_drop:
|
||||
- ALL
|
||||
minecraft_bedrock:
|
||||
restart: always
|
||||
build: minecraft_bedrock/.
|
||||
entrypoint: ["/bin/sh", "/home/me/entry.sh"]
|
||||
ports:
|
||||
- "19132:19132/udp"
|
||||
- "19133:19133/udp"
|
||||
networks:
|
||||
- game
|
||||
volumes:
|
||||
- ./minecraft_bedrock/worlds:/home/me/worlds
|
||||
cap_drop:
|
||||
- ALL
|
||||
terraria:
|
||||
restart: always
|
||||
build: terraria/.
|
||||
entrypoint: ["/bin/sh", "/home/me/entry.sh"]
|
||||
ports:
|
||||
- "7777:7777"
|
||||
networks:
|
||||
- game
|
||||
volumes:
|
||||
- ./terraria/worlds:/home/me/worlds
|
||||
cap_drop:
|
||||
- ALL
|
||||
# minecraft_bedrock:
|
||||
# restart: always
|
||||
# build: minecraft_bedrock/.
|
||||
# entrypoint: ["/bin/sh", "/home/me/entry.sh"]
|
||||
# ports:
|
||||
# - "19132:19132/udp"
|
||||
# - "19133:19133/udp"
|
||||
# networks:
|
||||
# - game
|
||||
# volumes:
|
||||
# - ./minecraft_bedrock/worlds:/home/me/worlds
|
||||
# cap_drop:
|
||||
# - ALL
|
||||
# terraria:
|
||||
# restart: always
|
||||
# build: terraria/.
|
||||
# entrypoint: ["/bin/sh", "/home/me/entry.sh"]
|
||||
# ports:
|
||||
# - "7777:7777"
|
||||
# networks:
|
||||
# - game
|
||||
# volumes:
|
||||
# - ./terraria/worlds:/home/me/worlds
|
||||
# cap_drop:
|
||||
# - ALL
|
||||
nas:
|
||||
restart: always
|
||||
build: nas/.
|
||||
|
@ -30,6 +30,7 @@ if __name__ == "__main__":
|
||||
for group in PATHS:
|
||||
for p in PATHS[group]:
|
||||
Path(p).mkdir(parents=True, exist_ok=True)
|
||||
Path(p).chmod(0o775)
|
||||
shutil.chown(p, user=os.getlogin(), group=group)
|
||||
|
||||
# add users to nas
|
||||
|
@ -34,7 +34,7 @@ if __name__ == "__main__":
|
||||
|
||||
# basic setup
|
||||
run([
|
||||
f"uci set network.globals.ula_prefix='{WRT_ULA}/48'"
|
||||
f"uci set network.globals.ula_prefix='{WRT_ULA}/48'",
|
||||
"uci set dropbear.main.Interface='lan'",
|
||||
"uci commit network",
|
||||
"uci commit dropbear",
|
||||
|
Loading…
x
Reference in New Issue
Block a user