2024-04-21 00:58:56 +00:00
|
|
|
# This is a sample configuration for the Web host.
|
2021-11-18 07:38:30 +00:00
|
|
|
# If you wish to change any of these, rename this file to config.yaml
|
|
|
|
# Default values are shown here. Uncomment and change the values as desired.
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# TODO
|
2021-11-18 07:38:30 +00:00
|
|
|
#SELFHOST: true
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Maximum concurrent world gens
|
2021-11-18 07:38:30 +00:00
|
|
|
#GENERATORS: 8
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# TODO
|
2021-11-18 07:38:30 +00:00
|
|
|
#SELFLAUNCH: true
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# TODO
|
2021-11-18 07:38:30 +00:00
|
|
|
#DEBUG: false
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Web hosting port
|
2021-11-18 07:38:30 +00:00
|
|
|
#PORT: 80
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Place where uploads go.
|
2021-11-18 07:38:30 +00:00
|
|
|
#UPLOAD_FOLDER: uploads
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Maximum upload size. Default is 64 megabyte (64 * 1024 * 1024)
|
2021-11-18 07:38:30 +00:00
|
|
|
#MAX_CONTENT_LENGTH: 67108864
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Secret key used to determine important things like cookie authentication of room/seed page ownership.
|
|
|
|
# If you wish to deploy, uncomment the following line and set it to something not easily guessable.
|
2024-04-21 00:58:56 +00:00
|
|
|
# SECRET_KEY: "Your secret key here"
|
2021-11-16 19:01:16 +00:00
|
|
|
|
2024-12-10 01:44:41 +00:00
|
|
|
# Slot limit to post a generation to Generator process pool instead of rolling directly in WebHost process
|
|
|
|
#JOB_THRESHOLD: 1
|
|
|
|
|
|
|
|
# After what time in seconds should generation be aborted, freeing the queue slot. Can be set to None to disable.
|
|
|
|
#JOB_TIME: 600
|
|
|
|
|
|
|
|
# Memory limit for Generator processes in bytes, -1 for unlimited. Currently only works on Linux.
|
|
|
|
#GENERATOR_MEMORY_LIMIT: 4294967296
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# waitress uses one thread for I/O, these are for processing of view that get sent
|
2021-11-18 07:38:30 +00:00
|
|
|
#WAITRESS_THREADS: 10
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# Database provider details:
|
2021-11-18 07:38:30 +00:00
|
|
|
#PONY:
|
|
|
|
# provider: "sqlite"
|
|
|
|
# filename: "ap.db3" # This MUST be the ABSOLUTE PATH to the file.
|
|
|
|
# create_db: true
|
2024-04-21 00:58:56 +00:00
|
|
|
|
2021-11-16 19:01:16 +00:00
|
|
|
# Maximum number of players that are allowed to be rolled on the server. After this limit, one should roll locally and upload the results.
|
2021-11-18 07:38:30 +00:00
|
|
|
#MAX_ROLL: 20
|
2021-11-16 19:01:16 +00:00
|
|
|
|
|
|
|
# TODO
|
2021-11-18 07:38:30 +00:00
|
|
|
#CACHE_TYPE: "simple"
|
2021-11-16 19:01:16 +00:00
|
|
|
|
2023-03-09 20:31:00 +00:00
|
|
|
# Host Address. This is the address encoded into the patch that will be used for client auto-connect.
|
|
|
|
#HOST_ADDRESS: archipelago.gg
|
2024-04-21 00:58:56 +00:00
|
|
|
|
|
|
|
# Asset redistribution rights. If true, the host affirms they have been given explicit permission to redistribute
|
|
|
|
# the proprietary assets in WebHostLib
|
|
|
|
#ASSET_RIGHTS: false
|