-
Notifications
You must be signed in to change notification settings - Fork 60
chore(backend): simplify & unify self hosting #918
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
Merged
Merged
Conversation
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
- change web app environment variables - use 2 separate environment variables for api base url fixes #842
@detj is attempting to deploy a commit to the measure Team on Vercel. To accomplish this, @detj needs to request access to the Team. Afterwards, an owner of the Team is required to accept their membership request. If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account. |
- update api base url environment variable fixes #842
- fix an issue with authentication occurring with productionized docker container(s). - improve authn error handling fixes #842
- add `.dockerignore` for web app fixes #842
- change next config settings to produce a standalone artifact on build fixes #842
- add `dockerfile` - add `dockerfile.prod` for production builds fixes #842
- modify root docker compose.yml to define web as a first-party service - modify root docker compose.prod.yml to define web as a first-party service fixes #842
- run migrations within a `migrate` docker compose profile fixes #842
- remove `.env.example` for measure-go - remove `.env.example` for web app fixes #842
- rename symbolicator-retrace dockerfile
- add oci images label to measure-go dockerfile - add oci images label to symbolicator-retrace dockerfile - add oci images label to measure-web-app dockerfile #842
- reorganize measure-go dockerfile - reorgnize symbolicator-retrace dockerfile - reorgnize measure-web-app dockerfile
- add build and push to github container regsitry job - fix the invalid glob paths for the `on` directive
- whitelist path to measure-go.yml workflow file
- add `IMAGE_REF` ARG in measure-go's dockerfile
- add `IMAGE_REF` build arg
- mod label syntax - wrap a label's value in double quotes
- trigger on dockerfile change
- add clickhouse healthcheck - normalize postgres and clickhouse healthcheck settings
- update `self-host/.env.example` file to reflect latest updates
- change exposed port number of minio from `9111` to `9119` to avoid port conflicts - improve clickhouse healthcheck mechanism
- update `self-host/config.sh` script to reflect updated attachment bucket origin url
- increase reliability of dbmate migrations
- run docker in debug mode when script's debug mode is on - add couple of info logs - improve the order of execution of high level tasks - wrote code comments for all functions
- reorganize function order - add code comments
- made database password to be generated automatically by default
- avoid logging sensitive passwords when configuring
- automate storage bucket settings by defualt for production
- add code comments
- change mechanism to generate secure passwords - add check for existence of openssl in installation environment
- update config creation to also generate config files for web app - fix issues with clickhouse configuration - improve config script further
- measure api server needs web app site origin value for configuring cors settings - server won't start unless `SITE_ORIGIN` environment variable is present at start time
- set `API_BASE_URL` for web service
- log status code returning from github primary email fetch
- remove hardcoded github redirect uri
- remove unneccessary environment variable from web .env.local file
- add extra space to preserve output of insignia
- add self hosting guide - add guide to create google oauth app - add guide to create github oauth app
- run `npm install` when developing
- organize contribution guide - add fresh info about setting up environment using docker compose for first time development - add troubleshooting section
anupcowkur
approved these changes
Aug 5, 2024
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.
Summary
Simplify self hosting process using docker, unify all environment variables and migrations. Ready the project towards deployment.
Tasks
install.sh
scriptfixes #842