-
Notifications
You must be signed in to change notification settings - Fork 2
Install PHP FPM #721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Install PHP FPM #721
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
caa2489
Draft apache FPM config
physikerwelt 70cecbb
Fix link from fpm to apache
physikerwelt fb0f88d
Workaround to overwrite the address of the fpm host
physikerwelt d201d8e
Remove linkedwiki
physikerwelt 3d47547
Link images
physikerwelt 9580f63
Use apache-assets-production container
physikerwelt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 830
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 1479
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 688
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 1594
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 1087
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 51
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 97
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 1512
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 51
🏁 Script executed:
Repository: MaRDI4NFDI/portal-compose
Length of output: 51
Don't override
WIKIBASE_HOSTwith the internal FPM container name—it breaks Traefik routing and canonical URLs.The current setup at line 87 immediately breaks the Traefik routing labels in the same service (lines 89, 94): they will attempt to route traffic to
Host(php-fpm-mardi-wikibase, swmath.php-fpm-mardi-wikibase)instead of the public hostname. Additionally, this breaks all LocalSettings.d configurations that depend onWIKIBASE_HOSTfor canonical URLs, email (IDHost), VisualEditor, Matomo Analytics, and Quickstatements.Keep
WIKIBASE_HOSTas the public host and introduce a separatePHP_FPM_HOSTvariable for the internal FPM upstream connection.💡 Suggested change
environment: <<: *wikibase_variables - WIKIBASE_HOST: php-fpm-mardi-wikibase + # keep public host for canonical URLs and Traefik routing + PHP_FPM_HOST: php-fpm-mardi-wikibase🤖 Prompt for AI Agents