Added option for azure provisioning. - #18
Open
FixingFox wants to merge 1 commit into
Open
Conversation
5 tasks
|
Superseded by #28 ( |
|
Azure |
|
Heads up: openGym has moved to GitLab. The GitHub repo is no longer maintained (the account was suspended, so it's out of my hands). Please re-open this issue/PR on GitLab so it doesn't get lost, I'll pick it up there. Questions, help and roadmap discussion now happen in Discord: Sorry for the noise, and thanks for sticking around. |
Author
|
Merge request opened in https://gitlab.com/DuarteSantos8/opengym/-/merge_requests/35. Closing this issue. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request adds full support for deploying openGym to Azure App Service as an alternative to self-hosting with Docker Compose. It introduces new infrastructure-as-code files, deployment documentation, and a combined Docker image to run both the frontend (nginx) and backend (Node.js API) in a single container, as required by Azure App Service. The README and self-hosting docs are updated to reference the new Azure deployment option.
Azure App Service deployment support:
azure.yamlconfiguration for Azure Developer CLI (azd) to define the deployment process and post-provision hooks.infra/main.bicepandinfra/main.parameters.jsonfor automated Azure resource provisioning, including App Service, registry, and Azure Files share.deploy/azure/Dockerfileto build a single image running both nginx and the Node.js API, with environment variables for CDN-hosted exercise media.deploy/azure/nginx.confanddeploy/azure/start.shto configure nginx for SPA and API proxying, and to orchestrate process startup within the container.deploy/azure/hooks/postprovision.shand.ps1) to setORIGINandRP_IDbased on the deployed app's hostname, ensuring passkey login works correctly.Documentation updates:
docs/AZURE_APPSERVICE.mdwith step-by-step instructions for deploying to Azure, handling custom domains, persistence, and scaling caveats.README.mdanddocs/SELF_HOSTING.mdto reference Azure App Service as a supported deployment option, with links to the new documentation.Minor documentation and formatting fixes: