Skip to content
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

Added the option for a docker container to restart upon reboot #19

Merged
merged 3 commits into from
Jan 5, 2023

Conversation

jnoc
Copy link
Contributor

@jnoc jnoc commented Jan 4, 2023

This is more of an enhancement for the docker side of Huxley2, after using this for some time on a vm I finally got round to making it auto restart upon reboot.
Just adding for other people who may not have much idea with docker like I did at the start.

Copy link
Owner

@jpsingleton jpsingleton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. 👍

@jpsingleton jpsingleton merged commit 5b5541f into jpsingleton:master Jan 5, 2023
azaka01 added a commit to azaka01/Huxley2 that referenced this pull request Apr 23, 2023
* Added the option for a docker container to restart upon reboot (jpsingleton#19)

* adding container restart upon reboot

* Update docker-compose.yml

* adding information for restarting docker dontainer

* fix: guid conversion fails on some type of service ids (jpsingleton#22)

* remove the 15 character constraint and base64 encoding for ServiceID

The latest changes in ServiceID are breaking some assumptions.

* fix unit test

---------

Co-authored-by: Jonathon Carter <[email protected]>
Co-authored-by: David Wheatley <[email protected]>
azaka01 added a commit to azaka01/Huxley2 that referenced this pull request Sep 15, 2024
* Add instructions for pointing to regenerated station codes on another instance to README

* Update azure-pipelines.yml for Azure Pipelines

* Fix for new service IDs (jpsingleton#14)

* fix(LDBWS): Allow for new-style service IDs

* fix(""): allow for 0..8 underscores instead of 1

* fix(*): fix broken tests, url encoding

- updated all in BaseServiceItemTests
- ensure ServiceIdUrlSafe is also base64-safe

* minor changes and clean-up (jpsingleton#18)

* cleanup(*): fixes from jpsingleton#14 and jpsingleton#17

- bump version number
- update station codes csv
- fix `FromGuid` compiler warning
- cleanup/fix service id parsing code
- minor change to homepage

* fix(ServiceDetailsServiceTests): modify test

* Update azure-pipelines.yml for Azure Pipelines

* Set up CI with Azure Pipelines

[skip ci]

* Set up CI with Azure Pipelines

[skip ci]

* Resolve conflicts

* Add StationsController to get location aware station data from Naptan

* add release config

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* remove .yml

* update description and links

* Add or update the App Service deployment workflow configuration from Azure Portal.

* additional JSON file for stations not available via Naptan CSV

* update ReadMe.md

* update Readme

* Update README.md

* update config for AppHarbor

* Add files from simian. Replace GeoUK with newer library.

* update naptan csv file

* update version

* update config for test deployment

* Update stations_addendum.json

Add Reston and Barking Riverside

* add version file

* Update README.md

* Update README.md

* fix project config

* Update BDS station

* Service Id fixes (#10)

* Added the option for a docker container to restart upon reboot (jpsingleton#19)

* adding container restart upon reboot

* Update docker-compose.yml

* adding information for restarting docker dontainer

* fix: guid conversion fails on some type of service ids (jpsingleton#22)

* remove the 15 character constraint and base64 encoding for ServiceID

The latest changes in ServiceID are breaking some assumptions.

* fix unit test

---------

Co-authored-by: Jonathon Carter <[email protected]>
Co-authored-by: David Wheatley <[email protected]>

* add ojp service ref without any code changes

* working OJP without fault handling

* add status codes

* Add OJP end point using secrets.json. Add planner request.

* Convert Ojp Crs codes into Station locations

* add real time calling points service

* Add alternative route. Add Delay or cancel data.

* changes for avoid/via/directTrains parameters

* Add ItemChoiceType

* update profiles

* update docs

---------

Co-authored-by: Dylan Maryk <[email protected]>
Co-authored-by: James Singleton <[email protected]>
Co-authored-by: nathan <[email protected]>
Co-authored-by: Jonathon Carter <[email protected]>
Co-authored-by: David Wheatley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants