@@ -11,39 +11,41 @@ Handles all BOSS (Background Online Storage Service) related tasks for the Prete
1111
1212Configurations are loaded through environment variables. ` .env ` files are supported.
1313
14- | Environment variable | Description | Default |
15- | ------------------------------------------------ | ----------------------------------------------------------------- | --------------------------------------------- |
16- | ` PN_BOSS_CONFIG_HTTP_PORT ` | The HTTP port the server listens on | None |
17- | ` PN_BOSS_CONFIG_LOG_FORMAT ` | What logging format to use, possible options: ` pretty ` or ` json ` | ` pretty ` |
18- | ` PN_BOSS_CONFIG_LOG_LEVEL ` | What log level to use | ` info ` |
19- | ` PN_BOSS_CONFIG_BOSS_WIIU_AES_KEY ` | The BOSS WiiU AES key, needs to be dumped from a console | None |
20- | ` PN_BOSS_CONFIG_BOSS_WIIU_HMAC_KEY ` | The BOSS WiiU HMAC key, needs to be dumped from a console | None |
21- | ` PN_BOSS_CONFIG_BOSS_3DS_AES_KEY ` | The BOSS 3DS AES key, needs to be dumped from a console | None |
22- | ` PN_BOSS_CONFIG_MONGO_CONNECTION_STRING ` | MongoDB connection string | None |
23- | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_ADDRESS ` | Address for the GRPC server to listen on | None |
24- | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_PORT ` | Port for the GRPC server to listen on | None |
25- | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_API_KEY ` | API key that services will use to connect to the BOSS GRPC server | None |
26- | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_ADDRESS ` | Address of the account GRPC server | None |
27- | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_PORT ` | Port of the account GRPC server | None |
28- | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_API_KEY ` | API key of the account GRPC server | None |
29- | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_ADDRESS ` | Address of the friends GRPC server | None |
30- | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_PORT ` | Port of the friends GRPC server | None |
31- | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_API_KEY ` | API key of the friends GRPC server | None |
32- | ` PN_BOSS_CONFIG_S3_ENDPOINT ` | S3 server endpoint | None |
33- | ` PN_BOSS_CONFIG_S3_REGION ` | S3 server region | None |
34- | ` PN_BOSS_CONFIG_S3_BUCKET ` | S3 server bucket | None |
35- | ` PN_BOSS_CONFIG_S3_ACCESS_KEY ` | S3 access key | None |
36- | ` PN_BOSS_CONFIG_S3_ACCESS_SECRET ` | S3 access key secret | None |
37- | ` PN_BOSS_CONFIG_CDN_DISK_PATH ` | Storage path for the CDN, use as alternative for S3 | None |
38- | ` PN_BOSS_CONFIG_STREETPASS_RELAY_ENABLED ` | Should Streetpass Relay be enabled? | ` false ` |
39- | ` PN_BOSS_CONFIG_STREETPASS_RELAY_CLEAN_OLD_DATA ` | Should old Streetpass Relay data be automatically cleaned up? | ` false ` |
40- | ` PN_BOSS_CONFIG_DOMAINS_NPDI ` | What domain should the NPDI component use? | ` npdi.cdn.pretendo.cc ` |
41- | ` PN_BOSS_CONFIG_DOMAINS_NPDL ` | What domain should the NPDL component use? | ` npdl.cdn.pretendo.cc ` |
42- | ` PN_BOSS_CONFIG_DOMAINS_NPFL ` | What domain should the NPFL component use? | ` npfl.c.app.pretendo.cc ` |
43- | ` PN_BOSS_CONFIG_DOMAINS_NPPL ` | What domain should the NPPL component use? | ` nppl.app.pretendo.cc,nppl.c.app.pretendo.cc ` |
44- | ` PN_BOSS_CONFIG_DOMAINS_NPTS ` | What domain should the NPTS component use? | ` npts.app.pretendo.cc ` |
45- | ` PN_BOSS_CONFIG_DOMAINS_SPR ` | What domain should the SPR component use? | ` service.spr.app.pretendo.cc ` |
46-
14+ | Environment variable | Description | Default |
15+ | -----------------------------------------------------| ---------------------------------------------------------------------| -----------------------------------------------|
16+ | ` PN_BOSS_CONFIG_HTTP_PORT ` | The HTTP port the server listens on | None |
17+ | ` PN_BOSS_CONFIG_LOG_FORMAT ` | What logging format to use, possible options: ` pretty ` or ` json ` | ` pretty ` |
18+ | ` PN_BOSS_CONFIG_LOG_LEVEL ` | What log level to use | ` info ` |
19+ | ` PN_BOSS_CONFIG_BOSS_WIIU_AES_KEY ` | The BOSS WiiU AES key, needs to be dumped from a console | None |
20+ | ` PN_BOSS_CONFIG_BOSS_WIIU_HMAC_KEY ` | The BOSS WiiU HMAC key, needs to be dumped from a console | None |
21+ | ` PN_BOSS_CONFIG_BOSS_3DS_AES_KEY ` | The BOSS 3DS AES key, needs to be dumped from a console | None |
22+ | ` PN_BOSS_CONFIG_MONGO_CONNECTION_STRING ` | MongoDB connection string | None |
23+ | ` PN_BOSS_CONFIG_GRPC_MAX_RECEIVE_MESSAGE_LENGTH_MB ` | The maximum size, in megabytes, a message sent to the server can be | 4 |
24+ | ` PN_BOSS_CONFIG_GRPC_MAX_SEND_MESSAGE_LENGTH_MB ` | The maximum size, in megabytes, a message sent to the client can be | 4 |
25+ | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_ADDRESS ` | Address for the GRPC server to listen on | None |
26+ | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_PORT ` | Port for the GRPC server to listen on | None |
27+ | ` PN_BOSS_CONFIG_GRPC_BOSS_SERVER_API_KEY ` | API key that services will use to connect to the BOSS GRPC server | None |
28+ | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_ADDRESS ` | Address of the account GRPC server | None |
29+ | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_PORT ` | Port of the account GRPC server | None |
30+ | ` PN_BOSS_CONFIG_GRPC_ACCOUNT_SERVER_API_KEY ` | API key of the account GRPC server | None |
31+ | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_ADDRESS ` | Address of the friends GRPC server | None |
32+ | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_PORT ` | Port of the friends GRPC server | None |
33+ | ` PN_BOSS_CONFIG_GRPC_FRIENDS_SERVER_API_KEY ` | API key of the friends GRPC server | None |
34+ | ` PN_BOSS_CONFIG_S3_ENDPOINT ` | S3 server endpoint | None |
35+ | ` PN_BOSS_CONFIG_S3_REGION ` | S3 server region | None |
36+ | ` PN_BOSS_CONFIG_S3_BUCKET ` | S3 server bucket | None |
37+ | ` PN_BOSS_CONFIG_S3_ACCESS_KEY ` | S3 access key | None |
38+ | ` PN_BOSS_CONFIG_S3_ACCESS_SECRET ` | S3 access key secret | None |
39+ | ` PN_BOSS_CONFIG_CDN_DISK_PATH ` | Storage path for the CDN, use as alternative for S3 | None |
40+ | ` PN_BOSS_CONFIG_STREETPASS_RELAY_ENABLED ` | Should Streetpass Relay be enabled? | ` false ` |
41+ | ` PN_BOSS_CONFIG_STREETPASS_RELAY_CLEAN_OLD_DATA ` | Should old Streetpass Relay data be automatically cleaned up? | ` false ` |
42+ | ` PN_BOSS_CONFIG_DOMAINS_NPDI ` | What domain should the NPDI component use? | ` npdi.cdn.pretendo.cc ` |
43+ | ` PN_BOSS_CONFIG_DOMAINS_NPDL ` | What domain should the NPDL component use? | ` npdl.cdn.pretendo.cc ` |
44+ | ` PN_BOSS_CONFIG_DOMAINS_NPFL ` | What domain should the NPFL component use? | ` npfl.c.app.pretendo.cc ` |
45+ | ` PN_BOSS_CONFIG_DOMAINS_NPPL ` | What domain should the NPPL component use? | ` nppl.app.pretendo.cc,nppl.c.app.pretendo.cc ` |
46+ | ` PN_BOSS_CONFIG_DOMAINS_NPTS ` | What domain should the NPTS component use? | ` npts.app.pretendo.cc ` |
47+ | ` PN_BOSS_CONFIG_DOMAINS_SPR ` | What domain should the SPR component use? | ` service.spr.app.pretendo.cc ` |
48+
4749## S3 server
4850The S3 server is optional, you can set ` PN_BOSS_CONFIG_CDN_DISK_PATH ` if you want to use a local folder as CDN source instead.
4951
@@ -61,7 +63,7 @@ npm run build
6163Configurations are loaded through environment variables. ` .env ` files are supported.
6264
6365| Environment variable | Description | |
64- | --------------------------- | ------------------------------------------------------------------------------------------- | -------- |
66+ | ----------------------------- | --------------------------------------------------------------------------------------------- | ---------- |
6567| ` PN_BOSS_CLI_GRPC_HOST ` | The Host that the BOSS GRPC server is on. Example: ` localhost:5678 ` | Required |
6668| ` PN_BOSS_CLI_GRPC_APIKEY ` | Master API key of the BOSS GRPC server. | Required |
6769| ` PN_BOSS_CLI_WIIU_AES_KEY ` | The BOSS WiiU AES key, needs to be dumped from a console | Optional |
0 commit comments