adjust config for bypassing nginx add communication to ergo add cachebusting + fixing icons
19 lines
No EOL
556 B
Python
19 lines
No EOL
556 B
Python
import os
|
|
SECRETKEY = os.path.join("secrets", "pubkey.pem")
|
|
|
|
# CEF-specific port (grumble communicates over it as well)
|
|
ERGO_ADDR = "127.0.0.1"
|
|
ERGO_PORT = 22843
|
|
|
|
MINIO_INTERNAL_ADDR = "http://127.0.0.1:9000" # dodges nginx
|
|
MINIO_EXTERNAL_ADDR = "data.example.xyz"
|
|
MINIO_ACCESS_KEY = "access-key-goes-here"
|
|
MINIO_SECRET_KEY = "secret-key-goes-here"
|
|
|
|
MAX_FILE_SIZE = 1024*1024*20
|
|
MAX_PFP_SIZE = 1024*1024*1.5
|
|
# It's a 24x24 image, you can fit that in 32k
|
|
MAX_ICON_SIZE = 1024*32
|
|
|
|
# Need to figure out how to make this cooperate more
|
|
ALLOWED_DOMAINS = ["*"] |