-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AB#24741: Publish timetable rendering API along with other fixes (#392)
* fix combining rows * MM-484: Allow launching separate services as different instances (#363) * MM-484: Allow launching separate services as different instances * Add default value to PUBLISHER_RENDER_URL * MM-497: Endpoint for render URL generation, Update README about service splitting (#364) * MM-497: Endpoint for render URL generation * Update README about the sectioning of the service, new start commands and explanations. * Remove extra slash from fallback url * Allow route title to enter the padding area This allow rendering to continue and not to fail if the route title is too long. * MM-495: Rename ticket-zones.json, update README (#365) * MM-502: Add more functionality to generateRenderUrl endpoint and rendering (#366) * MM-502: Add current date by default unless date is included in generateRenderUrl params * Tweak order of local setup commands, add moment to dependencies * MM-502: Add parameter to hide address info from timetable render * MM-502: Add print button to rendered document, and a parameter to hide it from document * Update yarn.locl --------- Co-authored-by: Juho Hänninen <juho.hanninen@cgi.com> * Fix url env variables for server (#368) * Fix url env variables for server * Fix webpack errors due to fs reference in browser app * Fix build and type errors * Fix server host checking * Add link to publisher-server for worker * MM-504: Add redirect parameter to generateRenderUrl endpoint * Remove forever from deployment * Add publisher server url to env to be build in the image * Fix and enhance puppeteer console logging * Remove trailing slash from server url env * Upgrade hsl-map-style * Fix single departure grouping with same minutes * Add filtering for duplicate departures * Drop console statement * day specific a4 timetable departures * bug fixes * l_rail color added * legend updated * translations * style reference update * yarn.lock * revert package.json and yarn.lock * new color and background color for stopPoster * yarn.lock update * L-rail icon and color update * MM-507: Add Docker Compose setup for development (#383) * MM-507: Add docker compose configuration for development * MM-507: Add setup instructions in README * Add font instructions to README, tidy up * Persist postgresql volume, add db dependency for startup sequence * Use tram diagram also on light rail stops (cherry picked from commit d0932d1) * Resize Pikaratikka's icon to render it correctly * fixed StopPoster timetable columns * removed redundant prop * #26114: language change for print button (#388) * #26114: Add language choices into the print button on timetable rendering * #26236: Fix StopPosterA3 generating error (#391) * Fix StopPosterA3 generating error * Refactor stopId property from A3Timetable to prevent same error * Merge conflict fix --------- Co-authored-by: Anton <anton.jyrkiainen@helsinki.fi> Co-authored-by: Juho Hänninen <juho.hanninen@cgi.com>
- Loading branch information
1 parent
020f6cf
commit 376f5de
Showing
23 changed files
with
2,656 additions
and
2,632 deletions.
There are no files selected for viewing
This file contains 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 contains 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 contains 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.
This file contains 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 contains 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 contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
services: | ||
|
||
redis: | ||
image: redis | ||
ports: | ||
- 6379:6379 | ||
|
||
publisher-postgres: | ||
image: postgres | ||
ports: | ||
- 5433:5432 | ||
environment: | ||
- POSTGRES_PASSWORD=postgres | ||
volumes: | ||
- dev_postgres:/var/lib/postgresql/data | ||
|
||
publisher-server: | ||
image: hsl-map-publisher | ||
ports: | ||
- 4000:4000 | ||
environment: | ||
- SERVICE=server:production | ||
volumes: | ||
- ./output:/output | ||
- ./fonts:/fonts | ||
depends_on: | ||
publisher-postgres: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
|
||
publisher-render: | ||
image: hsl-map-publisher | ||
ports: | ||
- 5000:5000 | ||
environment: | ||
- SERVICE=start:production | ||
volumes: | ||
- ./output:/output | ||
- ./fonts:/fonts | ||
depends_on: | ||
publisher-postgres: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
|
||
publisher-worker: | ||
image: hsl-map-publisher | ||
environment: | ||
- SERVICE=worker:production | ||
volumes: | ||
- ./output:/output | ||
- ./fonts:/fonts | ||
depends_on: | ||
publisher-postgres: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
|
||
volumes: | ||
dev_postgres: |
This file contains 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 contains 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 contains 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
Oops, something went wrong.