renamed an env var
Some checks failed
Docker Build / Build and Push Images (push) Has been cancelled

This commit is contained in:
Seaswimmer 2024-08-03 00:27:36 -04:00
parent 840e310490
commit 266d2476f8
Signed by: cswimr
GPG key ID: 3813315477F26F82
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,6 @@ services:
- FORGEJO_REPO=GalacticFactory - FORGEJO_REPO=GalacticFactory
- FORGEJO_TASK_NAME=Build and Upload Export Files - FORGEJO_TASK_NAME=Build and Upload Export Files
- FORGEJO_ARTIFACT_NAMES=PrismLauncher,ATLauncher,Modrinth - FORGEJO_ARTIFACT_NAMES=PrismLauncher,ATLauncher,Modrinth
- FORGEJO_DEBUG=false - DEBUG=false
ports: ports:
- "8041:80" - "8041:80"

View file

@ -28,7 +28,7 @@ config = {
"task_name": os.environ.get('FORGEJO_TASK_NAME'), "task_name": os.environ.get('FORGEJO_TASK_NAME'),
"page_size": os.environ.get('FORGEJO_PAGE_SIZE') or 10, "page_size": os.environ.get('FORGEJO_PAGE_SIZE') or 10,
"artifact_names": os.environ.get('FORGEJO_ARTIFACT_NAMES', '').split(','), "artifact_names": os.environ.get('FORGEJO_ARTIFACT_NAMES', '').split(','),
"debug": os.environ.get('FORGEJO_DEBUG') or False, "debug": os.environ.get('DEBUG') or False,
} }
config = Config(**config) config = Config(**config)