mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-18 06:41:27 +02:00
docs: deploy artifacts for the monerogue.app stagenet instance
Prepared (not executed) artifacts for the two-instance deployment: - scripts/deploy/monero-wallet-rpc.service: Monero STAGENET wallet-rpc unit (mirrors wownero-wallet-rpc; binds 127.0.0.1:38083, daemon :38081, password placeholder). - scripts/deploy/monerogue.service: second game instance unit (separate user/dir/DB, :3001). - docs/DEPLOY_INSTANCES.md: full runbook for both instances — mainnet reconfigured to free-to-play + NO payouts, and the new Monero stagenet instance with payouts ON; includes the monerogue .env and verification. No server changes and no secrets committed (placeholders only).
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# Monero STAGENET wallet RPC for the monerogue.app instance.
|
||||
# Mirrors wownero-wallet-rpc.service. Install to /etc/systemd/system/monero-wallet-rpc.service
|
||||
#
|
||||
# Wallet: /home/jw/Programs/monero-x86_64-linux-gnu-v0.18.4.4/test (the stagenet wallet with coins)
|
||||
# Daemon: monerod --stagenet RPC on 127.0.0.1:38081 (already running)
|
||||
# RPC: binds :38083 (free)
|
||||
#
|
||||
# IMPORTANT: replace REPLACE_WITH_WALLET_PASSWORD below with the wallet's real password
|
||||
# (do NOT commit the real password). Consider --wallet-dir + --rpc-login for production,
|
||||
# but this mirrors the existing wownero setup for parity.
|
||||
[Unit]
|
||||
Description=Monero Wallet RPC (Stagenet) - monerogue
|
||||
After=network-online.target monerod.service
|
||||
Wants=monerod.service
|
||||
|
||||
[Service]
|
||||
User=jw
|
||||
Group=jw
|
||||
Type=simple
|
||||
|
||||
ExecStart=/usr/bin/monero-wallet-rpc \
|
||||
--stagenet \
|
||||
--wallet-file /home/jw/Programs/monero-x86_64-linux-gnu-v0.18.4.4/test \
|
||||
--password "REPLACE_WITH_WALLET_PASSWORD" \
|
||||
--rpc-bind-port 38083 \
|
||||
--daemon-address 127.0.0.1:38081 \
|
||||
--non-interactive \
|
||||
--rpc-bind-ip 127.0.0.1 \
|
||||
--disable-rpc-login
|
||||
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,22 @@
|
||||
# monerogue.app game instance (Monero STAGENET, pay-to-play WITH payouts).
|
||||
# Install to /etc/systemd/system/monerogue.service
|
||||
#
|
||||
# Separate code checkout + user + DB + .env from the wownerogue (mainnet) instance, so the
|
||||
# two are fully independent. NPM (Nginx Proxy Manager) already forwards monerogue.app -> :3001.
|
||||
[Unit]
|
||||
Description=Monerogue Game Server (Monero Stagenet)
|
||||
After=network.target postgresql.service monero-wallet-rpc.service
|
||||
Wants=monero-wallet-rpc.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=monerogue
|
||||
Group=monerogue
|
||||
WorkingDirectory=/var/www/monerogue/app/src
|
||||
EnvironmentFile=/var/www/monerogue/app/src/.env
|
||||
ExecStart=/usr/bin/node index.js
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user