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
Fix #2993: Share single nginx container for all static sites #3237
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/humphd/telescope/Gk8iBThkxYpWsSP5qgxVPN6usQ6o |
| RUN apk add --no-cache tini util-linux | ||
| ENTRYPOINT [ "/sbin/tini", "--"] |
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.
tini probably not needed anymore since we can use init: true in docker-compose
| server { | ||
| listen 4631 default_server; | ||
| server_name localhost; | ||
| root /usr/share/nginx/html; | ||
| } |
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.
What would be the route in production? we don't want to expose 4631 in production
|
Closed in favour of breaking this into 2 PRs:
|
Issue This PR Addresses
Fixes #2993
Type of Change
Description
Draft PR to share nginx Docker container for all static sites (web app, docusaurus, test-content).
As per issue (and @cindyledev's comment) I have restructured the projects like this:
Steps to test the PR
pnpm ipnpm services:startlocalhost:8000for telescope applocalhost:4631for docusaurus appChecklist