-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/ssl certbot for new URL #7
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,7 +28,7 @@ services: | |
| DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public | ||
| PORT: 3001 | ||
| NODE_ENV: production | ||
| CORS_ORIGIN: https://spatialdsl.tmusml.cloud | ||
| CORS_ORIGIN: https://micss-lab.be | ||
| MAX_FILE_SIZE: 52428800 | ||
|
Comment on lines
28
to
32
|
||
| LOG_LEVEL: info | ||
| JWT_SECRET: ${JWT_SECRET} | ||
|
|
@@ -37,7 +37,7 @@ services: | |
| ADMIN_PASSWORD: ${ADMIN_PASSWORD:-} | ||
| RESEND_API_KEY: ${RESEND_API_KEY:-} | ||
| RESEND_FROM_EMAIL: ${RESEND_FROM_EMAIL:-noreply@example.com} | ||
| APP_URL: ${APP_URL:-https://spatialdsl.tmusml.cloud} | ||
| APP_URL: ${APP_URL:-https://micss-lab.be} | ||
| # No ports exposed to host — frontend nginx proxies /api/* internally | ||
|
|
||
| frontend: | ||
|
|
||
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.
The workflow now depends on the repository/org Actions variable
APP_URL(vars.APP_URL). If it isn’t defined, this expression resolves to an empty string andcurlwill run against/api/health, causing the job to fail with an invalid/missing URL. Consider providing a safe default in the expression (or setting anenv: APP_URL: ${{ vars.APP_URL || 'https://micss-lab.be' }}and using$APP_URL), and quote the URL to avoid shell word-splitting.