fix: add MediaWiki environment variables to docker-compose
Error: 500 Internal Server Error on MediaWiki import Root cause: MEDIAWIKI_API_URL not configured in container Fix: - Added MEDIAWIKI_API_URL: https://karatetrainer.net/api.php - Added MEDIAWIKI_USER, MEDIAWIKI_PASSWORD (optional, uses .env) - Added category name overrides (4 categories) Public wiki access (read-only) does not require authentication. User/password only needed for write operations. Note: .env file created locally but not committed (in .gitignore) Users should copy .env.example and set their credentials if needed.
This commit is contained in:
parent
c738f1234b
commit
f54d8b2e03
|
|
@ -37,6 +37,13 @@ services:
|
|||
APP_URL: http://192.168.2.49:3098
|
||||
ALLOWED_ORIGINS: http://192.168.2.49:3098
|
||||
ENVIRONMENT: development
|
||||
MEDIAWIKI_API_URL: https://karatetrainer.net/api.php
|
||||
MEDIAWIKI_USER: ${MEDIAWIKI_USER:-}
|
||||
MEDIAWIKI_PASSWORD: ${MEDIAWIKI_PASSWORD:-}
|
||||
MEDIAWIKI_CATEGORY_EXERCISES: Übungen
|
||||
MEDIAWIKI_CATEGORY_SKILLS: Fähigkeitsbeschreibung
|
||||
MEDIAWIKI_CATEGORY_METHODS: Methodenbeschreibung
|
||||
MEDIAWIKI_CATEGORY_MODELS: Reifegradmodelle
|
||||
volumes:
|
||||
- dev-shinkan-media:/app/media
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user