Open
Conversation
…roject devcontainer and uv env. - sets up the main app docker container. - adds the local mysql db container. - provides boilerplate shell scripts to run the db and the app containers. - sets up the env variables in ./backend/.env FETH-44
…end code location. - adds on screen prints @ config.get_database_url to check db environment variables, set at backend.env - adds db_mount, temp and db files to .gitignore FETH-44
…rvice to ensure the database setup before any usage. FETH-44
…D_URL constant @frontend.Projects.tsx to use 8100 on localhost. - Create Project tested via curl from host system and within app container shell - Create Project tested from UI, creates the project despite a fail alert - No project opens after creation - Provides Makefile target create_project for fast curl executions - Adds frontend directory to compose watch targets FETH-44
… vars to .env at the root for both compose.yaml, passing as args to Dockerfile and to the backend via dotenv. FETH-44
…etup instructions to adapt to docker compose and Make FETH-44
…nd passes it to the front end components via Make target update_urls using sed utility. - The sed edit utility is run as a prerequisite to the deploy target. - The Make target includes .env.template to maintain .env as the source of configs. Closes: FETH-44
…ing_rate to 16000 and decode to False on the Audio object in the export_to_huggingface method - binds the sound recordings volume to ./recordings FETH-44
… token and data repo based on developer provided environment variables via config.AppConfig. FETH-44
…ariables to docker secrets - Uses docker.io/mysql:9 image - Declares hf_token, aws_access_id and aws_access_secret as docker secrets - Deletes mysql db passwords, aws creds and HF tokens from .env file - Declares hf_token, aws_access_id and aws_access_secret _FILE env variables to read docker secrets in container FETH-44
… to read hugging face token from docker secrets - changes the SettingsService object to default to AppConfig.get_hf_token if user setting is none. FETH-44
…onfigurations to use secret files for sensitive data - adds get_db_password method in DatabaseConfig to read password from file - adds get_aws_access_secret method in AppConfig to read AWS secret from file - exposes MYSQL_PASSWORD secret to curatpor-app and declares MYSQL_PASSWORD_FILE to establish DB connection from app - adds devcontainer.json for consistent development environment - updates README.md to reflect changes in configuration and setup instructions Closes: FETH-44
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.
Resolves issue #2
Description
This pull request addresses points referenced in issue #2. Mainly marking a milestone towards producing a single distributable package for endusers to deploy on their host systems with minimal technical intervention, assuming a less tech savy user base.
To this end, a docker compose system is created to manage all system components which can be deployed or stopped through a single interface (i.e., docker compose cli).
Change Log
docker.io/mysql:9taguvfor managing python dependenciesmake deploy