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

refactor: Replace Supabase with Postgres #106

Merged
merged 17 commits into from Apr 29, 2024
Merged

refactor: Replace Supabase with Postgres #106

merged 17 commits into from Apr 29, 2024

Conversation

daryllimyt
Copy link
Contributor

@daryllimyt daryllimyt commented Apr 28, 2024

Closes #105 and #102. You can now use docker compose directly to manage services.

Changes

  • Removed nginx -- it wasn't being used
  • Remove tracecat-storage volume mounts. These were causing PermissionErrors when attempting to write to the volume. Removing the mount corrects the ownership of the directory to apiuser, instead of being owned externally (by the host)
  • Point TRACECAT__TRIAGE_DIR to ~/.tracecat/triage instead of .tracecat/triage. Again to avoid ACL issues.
  • Consolidate all internal networking into internal-network
  • Remove Supabase dependency
  • Add Postgres
  • Update documentation TODO
  • Fix docker volume issues - changed app dir to /var/lib/tracecat
  • Add missing project_discovyer integration changes
  • Replace services.sh with .env.sh, use this to populate .env file Remove services.sh #102

@daryllimyt daryllimyt self-assigned this Apr 28, 2024
Copy link

vercel bot commented Apr 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tracecat ❌ Failed (Inspect) Apr 29, 2024 4:52am

@daryllimyt daryllimyt added enhancement New feature or request build labels Apr 29, 2024
@daryllimyt daryllimyt merged commit 70ae378 into main Apr 29, 2024
5 of 6 checks passed
@daryllimyt daryllimyt deleted the feat/use-psql branch April 29, 2024 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Replace Supabase with Postgres for local deployments
1 participant