chore: General fixes from the PR review

This commit is contained in:
Akatsuki Levi
2024-07-01 00:06:49 -03:00
parent d9dcf75790
commit 31727f4bf5
7 changed files with 12 additions and 11 deletions

6
.gitmodules vendored
View File

@@ -75,5 +75,7 @@ branch = master
ignore = dirty
[submodule "repos/splatoon"]
path = repos/splatoon
url = https://github.com/ashquarky/splatoon
path = repos/splatoon
url = https://github.com/ashquarky/splatoon
branch = master
ignore = dirty

View File

@@ -469,9 +469,9 @@ services:
# Go delve debugger
- 127.0.0.1:2350:2351
# Authentication server
- 61002:61002/udp
- 6006:6006/udp
# Secure server
- 61003:61003/udp
- 6007:6007/udp
volumes:
- type: bind
source: ./logs/splatoon/

View File

@@ -1,6 +1,6 @@
MONGO_URI=mongodb://mongodb:27017/pretendo_account?replicaSet=rs
PN_SPLATOON_AUTHENTICATION_SERVER_PORT=61002
PN_SPLATOON_SECURE_SERVER_PORT=61003
PN_SPLATOON_AUTHENTICATION_SERVER_PORT=6006
PN_SPLATOON_SECURE_SERVER_PORT=6007
PN_SPLATOON_ALLOW_PUBLIC_MATCHMAKING=1
PN_SPLATOON_ACCOUNT_GRPC_HOST=account
PN_SPLATOON_ACCOUNT_GRPC_PORT=5000
PN_SPLATOON_ACCOUNT_GRPC_PORT=5000

View File

@@ -7,7 +7,7 @@ parse_arguments "$@"
print_info "Setting up Pretendo account servers database..."
load_dotenv .env
dotenv_files=("friends" "miiverse-api" "wiiu-chat" "super-mario-maker")
dotenv_files=("friends" "miiverse-api" "wiiu-chat" "super-mario-maker" "splatoon")
for file in "${dotenv_files[@]}"; do
load_dotenv "$file.env" "$file.local.env"
done

View File

@@ -86,7 +86,7 @@ async function runAsync() {
await createNexServer(
"Splatoon",
"10162B00",
["00050000-10176A00", "00050000-10176900", "00050000-10162B00"],
["0005000010176A00", "0005000010176900", "0005000010162B00"],
process.env.SERVER_IP,
process.env.SPLATOON_PORT,
1,

View File

@@ -118,7 +118,6 @@ echo "PN_SMM_KERBEROS_PASSWORD=$smm_kerberos_password" >>./super-mario-maker.loc
# Generate a Kerberos password for the Splatoon server
splat_kerberos_password=$(generate_password 32)
splat_api_key=$(generate_password 32)
echo "PN_SPLATOON_KERBEROS_PASSWORD=$splat_kerberos_password" >>./splatoon.local.env
# Generate an AES key for the Miiverse servers

View File

@@ -120,4 +120,4 @@ print_stage "Setting up containers with first-run scripts."
setup_containers
print_title "Pretendo Network server setup script finished"
print_success "Setup completed! You can now start your Pretendo Network server with \"docker compose up -d --build\"."
print_success "Setup completed! You can now start your Pretendo Network server with \"docker compose up -d --build\"."